def xencrypt
import bend-collections@1.0.0.0/src/crypto/aead/chacha20poly1305.bend as Chacha20poly1305import Base
104def xencrypt(+key: List<&2, U32>, +nonce: List<&2, U32>, +aad: List<&2, U32>, +pt: List<&2, U32>) -> Maybe<&2, List<&2, U32>>:
105 when(lengths_ok(key, nonce, 24n), xseal(key, nonce, aad, pt))
Uses (6)
Used by (0)
No other definition uses this definition.