law digest_bytes_correct

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/sha/laws.bend:14

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/sha/laws.bend as Laws
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/sha/sha256.bend as SHA
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend as FIPS

14law digest_bytes_correct:
15  for +ws: List<&2, U32>
16  {SHA.digest_bytes(ws) == FIPS.digest_octets(ws) : List<&2, U32>}

Uses (6)

Used by (1)