Stream.CrStream.keystream: def of bend-osdev-crypto@0.1.0.0 Import: import bend-osdev-crypto@0.1.0.0/stream.bend as Stream Lines 36-38 of bend-osdev-crypto@0.1.0.0/stream.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-crypto@0.1.0.0/stream.bend&start_line=36&end_line=38 import Base import bend-osdev-bytes@0.1.0.0/bytes.bend as B # The next n keystream bytes (the data n zero bytes) def CrStream.keystream(~S: Data, ~O: Data, ~update: S -> B.Octets -> O, ~out_data: O -> B.Octets, s: S, n: Nat) -> B.Octets: out_data(update(s, B.Octets.zeros(n))) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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.zeros