law sha512_correct

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/sha512/laws.bend:11

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

11# The digest of every byte list is the specification's.
12law sha512_correct:
13  for +bytes: List<&2, U32>
14  {SHA.sha512(bytes) == FIPS.sha512_bytes(bytes) : List<&2, U32>}

Uses (5)

Used by (0)

No other definition uses this definition.