Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <des.h>
Classes | |
class | Base |
DES block cipher default operation. More... | |
Public Types | |
typedef BlockCipherFinal< ENCRYPTION, Base > | Encryption |
typedef BlockCipherFinal< DECRYPTION, Base > | Decryption |
Public Types inherited from BlockCipherDocumentation | |
typedef BlockCipher | Encryption |
implements the BlockCipher interface More... | |
typedef BlockCipher | Decryption |
implements the BlockCipher interface More... | |
Static Public Member Functions | |
static bool | CheckKeyParityBits (const byte *key) |
check DES key parity bits More... | |
static void | CorrectKeyParityBits (byte *key) |
correct DES key parity bits More... | |
Additional Inherited Members | |
Public Member Functions inherited from DES_Info | |
CRYPTOPP_STATIC_CONSTEXPR const char * | StaticAlgorithmName () |
Public Member Functions inherited from FixedKeyLength< 8 > | |
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API | StaticGetValidKeyLength (size_t keylength) |
The default key length used by the algorithm provided as a constant. More... | |
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 |