def sha_pieces3

bend-osdev-crypto@0.1.0.0 · check.bend:297

import bend-osdev-crypto@0.1.0.0/check.bend as Check
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-crypto@0.1.0.0/hash.bend as H
import bend-osdev-crypto@0.1.0.0/inst_sha2.bend as SH

297def sha_pieces3(~init: SH.CrSha2State, +a: B.Octets, +b: B.Octets, +c: B.Octets) -> String:
298  B.Octets.hex(H.CrHash.of_pieces(~SH.CrSha2State, ~init, ~SH.CrSha2.update, ~SH.CrSha2.final, [a, b, c]))

Uses (8)

Used by (1)