InstSha2.CrSha2.update: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/inst_sha2.bend as InstSha2 Lines 31-35 of bend-osdev-crypto@0.1.0.0/inst_sha2.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/inst_sha2.bend&start_line=31&end_line=35 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B import bend-collections-laws-crypto@1.0.0.0/src/crypto/hash.bend as Hc # the state after more bytes (either hash: the state knows which it is) def CrSha2.update(s: CrSha2State, o: B.Octets) -> CrSha2State: match s: case CrSha2State{h}: CrSha2State{Hc.update(h, B.Octets.to_list(o))} Uses (4): https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/crypto/hash.bend&name=update https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.to_list https://jend.leeeet.dev/definition.txt?path=bend-osdev-crypto@0.1.0.0/inst_sha2.bend&name=CrSha2State