law bytes_length

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/chacha/stream.bend:151

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/chacha/stream.bend as Stream
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/chacha/core.bend as C

151# 64 keystream bytes.
152law bytes_length:
153  for +s: C.State
154  {List.length(&2, U32, C.bytes(s)) == 64n : Nat}

Uses (5)

Used by (2)