law xchacha20poly1305.encrypt
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/laws.bend as Lawsimport Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aead.bend as A
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aead/chacha20poly1305.bend as CP
108law xchacha20poly1305.encrypt:
109 for +key: List<&2, U32>
110 for +nonce: List<&2, U32>
111 for +aad: List<&2, U32>
112 for +pt: List<&2, U32>
113 {CP.xencrypt(key, nonce, aad, pt) == A.encrypt(A.XCHACHA20_POLY1305{}, key, nonce, aad, pt) : Maybe<&2, List<&2, U32>>}
Uses (9)
Used by (0)
No other definition uses this definition.