law iroundtrip

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/aead/chacha20poly1305.bend:339

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/chacha20poly1305.bend as Chacha20poly1305
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aead/chacha20poly1305.bend as I

339law iroundtrip:
340  for +key: List<&2, U32>
341  for +nonce: List<&2, U32>
342  for +aad: List<&2, U32>
343  for +pt: List<&2, U32>
344  {I.open(key, nonce, aad, I.seal(key, nonce, aad, pt)) == Some{pt} : Maybe<&2, List<&2, U32>>}

Uses (12)

Used by (1)