Security Scol plugin
|
#include <des.h>
Public Types | |
typedef BlockCipherFinal< ENCRYPTION, Base > | Encryption |
typedef BlockCipherFinal< DECRYPTION, Base > | Decryption |
![]() | |
typedef BlockCipher | Encryption |
implements the BlockCipher interface | |
typedef BlockCipher | Decryption |
implements the BlockCipher interface | |
Static Public Member Functions | |
static bool | CheckKeyParityBits (const byte *key) |
check DES key parity bits | |
static void | CorrectKeyParityBits (byte *key) |
correct DES key parity bits | |
Additional Inherited Members | |
![]() | |
CRYPTOPP_STATIC_CONSTEXPR const char * | StaticAlgorithmName () |
![]() | |
CRYPTOPP_CONSTANT (BLOCKSIZE=N) | |
The block size of the algorithm provided as a constant. | |
![]() | |
CRYPTOPP_CONSTANT (KEYLENGTH=N) | |
The default key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (MIN_KEYLENGTH=N) | |
The minimum key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (MAX_KEYLENGTH=N) | |
The maximum key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (DEFAULT_KEYLENGTH=N) | |
The default key length used by the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (IV_REQUIREMENT=SimpleKeyingInterface::NOT_RESYNCHRONIZABLE) | |
The default IV requirements for the algorithm provided as a constant. | |
CRYPTOPP_CONSTANT (IV_LENGTH=0) | |
The default IV length used by the algorithm provided as a constant. | |
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API | StaticGetValidKeyLength (size_t keylength) |
The default key length for the algorithm provided by a static function. | |
DES block cipher.
The DES implementation in Crypto++ ignores the parity bits (the least significant bits of each byte) in the key. However you can use CheckKeyParityBits() and CorrectKeyParityBits() to check or correct the parity bits if you wish.
typedef BlockCipherFinal<DECRYPTION, Base> DES::Decryption |
typedef BlockCipherFinal<ENCRYPTION, Base> DES::Encryption |
|
static |
|
static |