law encrypt.invalid

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

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aead/laws.bend as Laws
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aead.bend as A

134law encrypt.invalid:
135  for +alg: A.Alg
136  for +key: List<&2, U32>
137  for +nonce: List<&2, U32>
138  for +aad: List<&2, U32>
139  for +pt: List<&2, U32>
140  for +h: {A.valid(alg, key, nonce) == False{} : Bool}
141  {A.encrypt(alg, key, nonce, aad, pt) == None{} : Maybe<&2, List<&2, U32>>}

Uses (10)

Used by (0)

No other definition uses this definition.