Symmetric Encryption Schemes. #
This file defines a type SymmEncAlg spec M K C to represent a protocol
for symmetric encryption using oracles in spec, with message space M,
secret keys of type K, and ciphertext space C.
- spec : OracleSpec Q
- keygen (sp : ℕ) : OracleComp self.spec (K sp)
Instances For
def
SymmEncAlg.CompleteExp
{M K C : ℕ → Type}
{Q : Type v}
(encAlg : SymmEncAlg M K C Q)
{sp : ℕ}
(m : M sp)
:
OptionT (OracleComp encAlg.spec) (M sp)