Crypto++
8.8
Free C++ class library of cryptographic schemes
|
SymmetricCipher implementation. More...
Public Member Functions | |
SymmetricCipherFinal () | |
Construct a stream cipher. | |
SymmetricCipherFinal (const byte *key) | |
Construct a stream cipher. More... | |
SymmetricCipherFinal (const byte *key, size_t length) | |
Construct a stream cipher. More... | |
SymmetricCipherFinal (const byte *key, size_t length, const byte *iv) | |
Construct a stream cipher. More... | |
Clonable * | Clone () const |
Clone a SymmetricCipher. More... | |
Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< BASE, BASE >, BASE > | |
std::string | AlgorithmName () const |
The algorithm name. More... | |
Public Member Functions inherited from SimpleKeyingInterfaceImpl< BASE, INFO > | |
size_t | MinKeyLength () const |
The minimum key length used by the algorithm. More... | |
size_t | MaxKeyLength () const |
The maximum key length used by the algorithm. More... | |
size_t | DefaultKeyLength () const |
The default key length used by the algorithm. More... | |
size_t | GetValidKeyLength (size_t keylength) const |
Provides a valid key length for the algorithm. More... | |
SimpleKeyingInterface::IV_Requirement | IVRequirement () const |
The default IV requirements for the algorithm. More... | |
unsigned int | IVSize () const |
The initialization vector length for the algorithm. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from AlgorithmImpl< SimpleKeyingInterfaceImpl< BASE, BASE >, BASE > | |
static std::string | StaticAlgorithmName () |
The algorithm name. More... | |
SymmetricCipher implementation.
BASE | AbstractPolicyHolder derived base class |
INFO | AbstractPolicyHolder derived information class |
Definition at line 683 of file strciphr.h.
|
inline |
Construct a stream cipher.
key | a byte array used to key the cipher |
This overload uses DEFAULT_KEYLENGTH
Definition at line 694 of file strciphr.h.
|
inline |
Construct a stream cipher.
key | a byte array used to key the cipher |
length | the size of the key array |
Definition at line 700 of file strciphr.h.
|
inline |
Construct a stream cipher.
key | a byte array used to key the cipher |
length | the size of the key array |
iv | a byte array used as an initialization vector |
Definition at line 707 of file strciphr.h.
|
inline |
Clone a SymmetricCipher.
Definition at line 712 of file strciphr.h.