Pudu programming language
Menu
API reference

Std.Crypto.sha256Bytes

1 declaration

fn

sha256Bytes: &Array[UInt32] -> Std.Crypto.Digest

This is a callable function.

What it does

The SHA-256 digest of bytes, given one to a word, computed by the rounds

below. Reference implementation checked against sha256 by the fixtures.

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.
  • Names inside [ ] are type arguments, such as the item type held by a collection.

Back to Std.CryptoSearch related declarations