Loading

SHA256

crypto

The SHA256 function digests a byte array on the stack with the cryptographic hash function SHA-256.

SHA256 is available since version 1.2.0.

See also

Signatures

Examples

// Converts a string to digest into byte array 'something to hash' 'UTF-8' ->BYTES // apply SHA-256 cryptographic hash function SHA256 // hex representation of the SHA-256 message digest ->HEX