botan v1.12.5 (2016-04-07T22:31:19Z)
Dub
Repo
ElGamalEncryptionOperation
botan
pubkey
algo
elgamal
ElGamal encryption operation
final
static if
(
BOTAN_HAS_PUBLIC_KEY_CRYPTO && BOTAN_HAS_ELGAMAL
)
class
ElGamalEncryptionOperation :
Encryption
{
size_t
maxInputBits
();
this
(PublicKey pkey);
this
(ElGamalPublicKey pkey);
this
(DLSchemePublicKey key);
SecureVector
!
ubyte
encrypt
(const(ubyte)* msg, size_t msg_len, RandomNumberGenerator rng);
}
Constructors
this
this
(PublicKey pkey)
Undocumented in source.
this
this
(ElGamalPublicKey pkey)
Undocumented in source.
this
this
(DLSchemePublicKey key)
Undocumented in source.
Members
Functions
encrypt
SecureVector
!
ubyte
encrypt
(const(ubyte)* msg, size_t msg_len, RandomNumberGenerator rng)
Undocumented in source. Be warned that the author may not have intended to support it.
maxInputBits
size_t
maxInputBits
()
Undocumented in source. Be warned that the author may not have intended to support it.
Inherited Members
From Encryption
maxInputBits
size_t
maxInputBits
()
Undocumented in source.
encrypt
SecureVector
!
ubyte
encrypt
(const(ubyte)* msg, size_t msg_len, RandomNumberGenerator rng)
Undocumented in source.
Meta
Source
See Implementation
botan
pubkey
algo
elgamal
classes
ElGamalDecryptionOperation
ElGamalEncryptionOperation
functions
elgamalKat
testPkKeygen
structs
ElGamalOptions
ElGamalPrivateKey
ElGamalPublicKey
ElGamal encryption operation