def encrypt
import bend-collections@1.0.0.0/spec/crypto/chacha.bend as Chachaimport Base
170def encrypt(+key: List<&2, U32>, counter: U32, +nonce: List<&2, U32>, +plaintext: List<&2, U32>) -> List<&2, U32>:
171 encrypt_rounds(10n, key, counter, nonce, plaintext)