Skip to content

SHA2

SHA2(msg[, digest_size])

Encodes the msg string using the SHA-2 algorithm with the specified digest size (only values supported are, 224, 256, 384 and 512). Outputs the result as a hex-encoded string.