Pudu programming language
Menu
API reference

Std.Crypto.sha3_256

1 declaration

fn

sha3_256: &Bytes -> Bytes

This is a callable function.

What it does

The SHA3-256 digest of bytes.

A sponge construction unrelated to SHA-2, so a weakness found in one family

does not carry to the other. A protocol that names SHA3-256 cannot be

answered with SHA-256.

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