def encrypt_rounds

bend-collections@1.0.0.0 · src/crypto/chacha/chacha20.bend:88

import bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend as Chacha20
import Base

88def encrypt_rounds(+r: Nat, key_bytes: List<&2, U32>, counter: U32, nonce_bytes: List<&2, U32>, +plaintext: List<&2, U32>) -> List<&2, U32>:
89  stream(List.length(&2, U32, plaintext), plaintext, r, key(key_bytes), counter, nonce(nonce_bytes))

Uses (7)

Used by (4)