Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Forgot function name

Encoding Functions

base64encode

...

Hashing Functions

hashFunctions

hashFunctions() - returns the array of supported hash function names (strings) supported by the current Node engine

hash

hash(<hashFn>, <toHash>) - uses the method specified by the hashFn name to return the hashed toHash string

...

Digest functions

md5

Warning
titleSecurity

Based on the recommendations of NIST SP 800-131A, avoid MD5 where collision resistance is required, such as digital signatures.

...

Code Block
themeConfluence
langjavascript
  d = math:md5("Hello" + foo)

sha1

Warning
titleSecurity

Based on the recommendations of NIST SP 800-131A, avoid SHA-1 where collision resistance is required, such as digital signatures.

...