law sha256_bytes_correct
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/sha/laws.bend as Lawsimport 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
18law sha256_bytes_correct:
19 for +bytes: List<&2, U32>
20 {SHA.sha256_bytes(bytes) == FIPS.sha256_bytes(bytes) : List<&2, U32>}
Uses (8)
Used by (5)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/mac/hmac:sign_correct
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/pschn:tagged_v
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/hash/laws:Sha256.value
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/mac/hmac:block_mask_if
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/sha/laws:sha256_bytes_length