Options
All
  • Public
  • Public/Protected
  • All
Menu

Module md5

Index

References

Functions String

References

Renames and re-exports md5

String Functions

  • MD5(input: string): string
  • Calculates MD5 value for a given string. If a key is provided, calculates the HMAC-MD5 value. Returns a Hex encoded string unless the raw argument is given.

    since

    5.15.0

    Parameters

    • input: string

      Input string

    Returns string

    MD5 output (in upper case)

  • md5(input: string): string
  • Calculates MD5 value for a given string. If a key is provided, calculates the HMAC-MD5 value. Returns a Hex encoded string unless the raw argument is given.

    since

    5.15.0

    Parameters

    • input: string

      Input string

    Returns string

    MD5 output