Pudu programming language
Menu
API reference

Std.Crypto.blake2b256

1 declaration

fn

blake2b256: &Bytes -> Bytes

This is a callable function.

What it does

The BLAKE2b digest of bytes at 32 bytes.

Faster than SHA-2 in software at the same security margin, which is why

content addressing and integrity checks over large files reach for it.

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.

Back to Std.CryptoSearch related declarations