Fabcoin Core
0.16.2
P2P Digital Currency
|
Interface for symmetric encryption algorithms used in DL cryptosystems. More...
#include <pubkey.h>
Public Member Functions | |
virtual | ~DL_SymmetricEncryptionAlgorithm () |
virtual bool | ParameterSupported (const char *name) const |
virtual size_t | GetSymmetricKeyLength (size_t plaintextLength) const =0 |
virtual size_t | GetSymmetricCiphertextLength (size_t plaintextLength) const =0 |
virtual size_t | GetMaxSymmetricPlaintextLength (size_t ciphertextLength) const =0 |
virtual void | SymmetricEncrypt (RandomNumberGenerator &rng, const byte *key, const byte *plaintext, size_t plaintextLength, byte *ciphertext, const NameValuePairs ¶meters) const =0 |
virtual DecodingResult | SymmetricDecrypt (const byte *key, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters) const =0 |
Interface for symmetric encryption algorithms used in DL cryptosystems.
|
inlinevirtual |
|
pure virtual |
Implemented in DL_EncryptionAlgorithm_Xor< MAC, DHAES_MODE, LABEL_OCTETS >, and ElGamalBase.
|
pure virtual |
Implemented in DL_EncryptionAlgorithm_Xor< MAC, DHAES_MODE, LABEL_OCTETS >, and ElGamalBase.
|
pure virtual |
Implemented in DL_EncryptionAlgorithm_Xor< MAC, DHAES_MODE, LABEL_OCTETS >, and ElGamalBase.
|
inlinevirtual |
Reimplemented in DL_EncryptionAlgorithm_Xor< MAC, DHAES_MODE, LABEL_OCTETS >.
|
pure virtual |
Implemented in DL_EncryptionAlgorithm_Xor< MAC, DHAES_MODE, LABEL_OCTETS >, and ElGamalBase.
|
pure virtual |
Implemented in DL_EncryptionAlgorithm_Xor< MAC, DHAES_MODE, LABEL_OCTETS >, and ElGamalBase.