ElGamal Private Key adapter.
More...
template<class BASE>
struct DL_PrivateKey_ElGamal< BASE >
ElGamal Private Key adapter.
- Template Parameters
-
- See also
- Issue 876, Issue 567
- Since
- Crypto++ 8.3
Definition at line 171 of file elgamal.h.
◆ GetAlgorithmID()
◆ Validate()
Check the key for errors.
- Parameters
-
- Returns
- true if the tests succeed, false otherwise There are four levels of thoroughness:
-
0 - using this object won't cause a crash or exception
-
1 - this object will probably function, and encrypt, sign, other operations correctly
-
2 - ensure this object will function correctly, and perform reasonable security checks
-
3 - perform reasonable security checks, and do checks that may take a long time
Level 0 does not require a RandomNumberGenerator. A NullRNG() can be used for level 0. Level 1 may not check for weak keys and such. Levels 2 and 3 are recommended.
Definition at line 206 of file elgamal.h.
The documentation for this struct was generated from the following file: