Module EverCrypt.SHA2_256

Direct hashing with SHA-256

The digest buffer must match the digest size of SHA-256, which is 32 bytes.

type bytes = SharedDefs.CBytes.t
val hash : bytes -> bytes

hash msg returns the hash of msg.

module Noalloc : sig ... end

Version of this function which writes its output in a buffer passed in as an argument