Std.Crypto.sha1
1 declaration
fn
sha1: Str -> Std.Crypto.LegacyDigestThis is a callable function.
What it does
The SHA-1 digest of text, taken over its UTF-8 bytes.
Where a protocol names this algorithm, the digest is proving that a party
followed the protocol rather than that it knows a secret, so what matters
is agreeing with every other implementation.
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.
