Crypto++
|
#include <des.h>
Public Types | |
typedef BlockCipherFinal < ENCRYPTION, Base > | Encryption |
typedef BlockCipherFinal < DECRYPTION, Base > | Decryption |
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 | |
static const char * | StaticAlgorithmName () |
static size_t | StaticGetValidKeyLength (size_t) |
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.