Scalar fucntions

Hash functions

Function NameDescription
hash_md5()Returns a MD5 hash value for the input value.
hash_sha256()Returns a SHA256 hash value for the input value.

hash_md5()

Returns an MD5 hash value for the input value.

Arguments

  • source: The value to be hashed.

Returns

The MD5 hash value of the given scalar, encoded as a hex string (a string of characters, each two of which represent a single Hex number between 0 and 255).

Example

hash_md5(source)

hash_sha256()

Returns a sha256 hash value for the input value.

Arguments

  • source: The value to be hashed.

Returns

The sha256 hash value of the given scalar, encoded as a hex string (a string of characters, each two of which represent a single Hex number between 0 and 255).

Example

hash_sha256(source)