Std.Crypto.sha256
1 declaration
fn
sha256: Str -> Std.Crypto.DigestThis is a callable function.
What it does
The SHA-256 digest of text, taken over its UTF-8 bytes, computed by the
runtime's implementation.
104 KB at -O2: under 1 ms here, 4.5 s with the rounds in sha256Bytes.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
