Hash functions
Learn how to use and combine various hash functions in APL
Hash functions
Function Name | Description |
---|---|
hash_md5() | Returns a MD5 hash value for the input value. |
hash_sha1() | Returns a sha1 hash value for the input value. |
hash_sha256() | Returns a SHA256 hash value for the input value. |
hash_sha512() | Returns a SHA512 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).
Examples
- Result
hash_sha1()
Returns a SHA1 hash value for the input value.
Arguments
- source: The value to be hashed.
Returns
The sha1 hash value of the given scalar, encoded as a hex string
Examples
- Result
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).
Examples
- Result
hash_sha512()
Returns a SHA512 hash value for the input value.
Arguments
- source: The value to be hashed.
Returns
The sha512 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 511).
Examples
- Result
- Result
Was this page helpful?