def encrypt_ct
import bend-collections@1.0.0.0/src/crypto/aead/chacha20poly1305.bend as Chacha20poly1305import Base
import bend-collections@1.0.0.0/src/crypto/chacha/chacha20.bend as CH
41# chacha20_encrypt(key, 1, nonce, plaintext).
42def encrypt_ct(key: List<&2, U32>, nonce: List<&2, U32>, +pt: List<&2, U32>) -> List<&2, U32>:
43 CH.encrypt_rounds(10n, key, 1, nonce, pt)