law sha3_256_length

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/sha3/laws.bend:13

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/sha3/laws.bend as Laws
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha3/sha3_256.bend as SHA3

13# Every digest is 32 bytes.
14law sha3_256_length:
15  for +bytes: List<&2, U32>
16  {List.length(&2, U32, SHA3.sha3_256(bytes)) == 32n : Nat}

Uses (11)

Used by (0)

No other definition uses this definition.