law Incremental.sha3_256

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/hash/laws.bend:45

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/hash/laws.bend as Laws
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/hash.bend as Hash

45law Incremental.sha3_256:
46  for +chunks: List<&2, List<&2, U32>>
47  {Hash.digest(Hash.update_all(Hash.new_sha3_256(), chunks)) == Hash.sha3_256(List.concat(&2, U32, chunks)) : List<&2, U32>}

Uses (8)

Used by (2)