def stream
import bend-collections-laws-crypto@1.0.0.0/spec/math/random/chacha8rand.bend as Chacha8randimport Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
205# the first n 64-bit outputs of ChaCha8Rand keyed by key (eight words)
206def stream(n: Nat, +key: List<&2, U32>) -> List<&2, W.U64>:
207 stream_go(n, [], key)
Uses (5)
Used by (6)
- bend-collections-laws-crypto@1.0.0.0/spec/math/random:map_stream
- bend-collections-laws-crypto@1.0.0.0/proofs/math/random/chacha8/stream:stream
- bend-collections-laws-crypto@1.0.0.0/proofs/math/random/chacha8/seed:seeded_ok
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/random:Random.stream
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/random/proof:Random.stream
- …