law digest_bytes_correct
import bend-collections@1.0.0.0/proofs/crypto/sha/laws.bend as Lawsimport Base
import bend-collections@1.0.0.0/src/crypto/sha/sha256.bend as SHA
import bend-collections@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>}