law sha256_spec

bend-osdev-crypto@0.1.0.0 · LAWS.bend:396

import bend-osdev-crypto@0.1.0.0/LAWS.bend as LAWS
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-crypto@0.1.0.0/inst_sha2.bend as SH
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/sha.bend as F256

396law sha256_spec:
397  for +o: B.Octets
398  {SH.CrSha2.sha256(o) == B.Octets.of_list(F256.sha256_bytes(B.Octets.to_list(o))) : B.Octets}

Uses (6)

Used by (0)

No other definition uses this definition.