Crypto++ 8.7
Free C++ class library of cryptographic schemes
|
Provides class member functions to key a block cipher. More...
#include <seckey.h>
Public Member Functions | |
BlockCipherFinal () | |
Construct a default BlockCipherFinal. More... | |
BlockCipherFinal (const byte *key) | |
Construct a BlockCipherFinal. More... | |
BlockCipherFinal (const byte *key, size_t length) | |
Construct a BlockCipherFinal. More... | |
BlockCipherFinal (const byte *key, size_t length, unsigned int rounds) | |
Construct a BlockCipherFinal. More... | |
bool | IsForwardTransformation () const |
Provides the direction of the cipher. More... | |
Public Member Functions inherited from ClonableImpl< BlockCipherFinal< DIR, BASE >, BASE > | |
Clonable * | Clone () const |
Create a copy of this object. More... | |
Provides class member functions to key a block cipher.
DIR | a CipherDir |
BASE | a BlockCipherImpl derived class |
|
inline |
Construct a default BlockCipherFinal.
The cipher is not keyed.
|
inline |
Construct a BlockCipherFinal.
key | a byte array used to key the cipher |
key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKey.
|
inline |
Construct a BlockCipherFinal.
key | a byte array used to key the cipher |
length | the length of the byte array |
key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKey.
|
inline |
Construct a BlockCipherFinal.
key | a byte array used to key the cipher |
length | the length of the byte array |
rounds | the number of rounds |
key must be at least DEFAULT_KEYLENGTH in length. Internally, the function calls SimpleKeyingInterface::SetKeyWithRounds.
|
inline |