Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

DES Class Reference

#include <des.h>

Inheritance diagram for DES:

BlockCipherDocumentation FixedBlockSize< 8 > FixedKeyLength< 8 > List of all members.

Detailed Description

DES

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.

Definition at line 35 of file des.h.

Public Types

typedef BlockCipherTemplate<
ENCRYPTION, Base > 
Encryption
 implements the BlockCipher interface

typedef BlockCipherTemplate<
DECRYPTION, Base > 
Decryption
 implements the BlockCipher interface


Static Public Member Functions

bool CheckKeyParityBits (const byte *key)
 check DES key parity bits

void CorrectKeyParityBits (byte *key)
 correct DES key parity bits

const char * StaticAlgorithmName ()
unsigned int StaticGetValidKeyLength (unsigned int)


The documentation for this class was generated from the following files:
Generated on Tue Jul 8 23:34:45 2003 for Crypto++ by doxygen 1.3.2