sha256Encode

Calculate the SHA256 of a string

We use openssl to do this since we're already linking to it. We could also use functions from the phobos library.

Param: s = string to calculate hash from

sha256Encode
(
const char[] s
)

Return Value

Type: auto

ubyteSHA256_DIGEST_LENGTH for the hash

Meta