Std.Crypto.sha512
1 declaration
fn
sha512: &Bytes -> BytesThis is a callable function.
What it does
The SHA-512 digest of bytes.
Beside SHA-256 rather than instead of it. A protocol names the digest it is
defined over — a signature algorithm, a key derivation, a transcript hash —
and substituting the one to hand produces a value that is not the one the
other side will compute.
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.
- & borrows a value for this call instead of moving or copying it.
