Crypto++ 8.7
Free C++ class library of cryptographic schemes
|
ElGamal encryption scheme with non-standard padding. More...
#include <elgamal.h>
Public Types | |
typedef DL_CryptoSchemeOptions< ElGamal, ElGamalKeys, int, int, int > | SchemeOptions |
typedef SchemeOptions::PrivateKey | PrivateKey |
typedef SchemeOptions::PublicKey | PublicKey |
typedef SchemeOptions::GroupParameters | GroupParameters |
Implements DL_GroupParameters interface. More... | |
typedef PK_FinalTemplate< ElGamalObjectImpl< DL_EncryptorBase< Integer >, SchemeOptions, SchemeOptions::PublicKey > > | Encryptor |
Implements PK_Encryptor interface. More... | |
typedef PK_FinalTemplate< ElGamalObjectImpl< DL_DecryptorBase< Integer >, SchemeOptions, SchemeOptions::PrivateKey > > | Decryptor |
Implements PK_Encryptor interface. More... | |
Static Public Member Functions | |
static const char * | StaticAlgorithmName () |
The algorithm name. More... | |
ElGamal encryption scheme with non-standard padding.
ElGamal provide the algorithm implementation ElGamal key agreement and encryption schemes.
The ElGamal class [mistakenly] used the OID for DSA from about Crypto++ 1.0 through Crypto++ 8.2. At Crypto++ 8.3 the OID was fixed and now uses ElGamal encryption, which is 1.3.14.7.2.1.1. If you need to Load
an ElGamal key with the wrong OID then see ElGamal on the Crypto++ wiki.
typedef DL_CryptoSchemeOptions<ElGamal, ElGamalKeys, int, int, int> ElGamal::SchemeOptions |
typedef SchemeOptions::GroupParameters ElGamal::GroupParameters |
Implements DL_GroupParameters interface.
typedef PK_FinalTemplate<ElGamalObjectImpl<DL_EncryptorBase<Integer>, SchemeOptions, SchemeOptions::PublicKey> > ElGamal::Encryptor |
Implements PK_Encryptor interface.
typedef PK_FinalTemplate<ElGamalObjectImpl<DL_DecryptorBase<Integer>, SchemeOptions, SchemeOptions::PrivateKey> > ElGamal::Decryptor |
Implements PK_Encryptor interface.
|
inlinestatic |