default.h File Reference

Classes for DefaultEncryptor, DefaultDecryptor, DefaultEncryptorWithMAC and DefaultDecryptorWithMAC. More...

Go to the source code of this file.

## Classes

class | DataDecryptorErr
| Exception thrown when LegacyDecryptorWithMAC or DefaultDecryptorWithMAC decryption error is encountered. More...
class | KeyBadErr
| Exception thrown when a bad key is encountered in DefaultDecryptorWithMAC and LegacyDecryptorWithMAC. More...
class | MACBadErr
| Exception thrown when an incorrect MAC is encountered in DefaultDecryptorWithMAC and LegacyDecryptorWithMAC. More...
struct | DataParametersInfo< BlockSize, KeyLength, DigestSize, SaltSize, Iterations >
| Algorithm information for password-based encryptors and decryptors. More...
class | DataEncryptor< BC, H, Info >
| Password-based Encryptor. More...
class | DataDecryptor< BC, H, Info >
| Password-based Decryptor. More...
class | DataEncryptorWithMAC< BC, H, MAC, Info >
| Password-based encryptor with MAC. More...
class | DataDecryptorWithMAC< BC, H, MAC, Info >
| Password-based decryptor with MAC. More...
struct | LegacyEncryptor
| Password-based encryptor (deprecated) More...
struct | LegacyDecryptor
| Password-based decryptor (deprecated) More...
struct | DefaultEncryptor
| Password-based encryptor. More...
struct | DefaultDecryptor
| Password-based decryptor. More...
struct | LegacyEncryptorWithMAC
| Password-based encryptor with MAC (deprecated) More...
struct | LegacyDecryptorWithMAC
| Password-based decryptor with MAC (deprecated) More...
struct | DefaultEncryptorWithMAC
| Password-based encryptor with MAC. More...
struct | DefaultDecryptorWithMAC
| Password-based decryptor with MAC. More...

## Typedefs

typedef DES_EDE2 | LegacyBlockCipher
| Legacy block cipher for LegacyEncryptor, LegacyDecryptor, LegacyEncryptorWithMAC and LegacyDecryptorWithMAC.
typedef SHA1 | LegacyHashModule
| Legacy hash for use with LegacyEncryptorWithMAC and LegacyDecryptorWithMAC.
typedef HMAC< LegacyHashModule > | LegacyMAC
| Legacy HMAC for use withLegacyEncryptorWithMAC and LegacyDecryptorWithMAC.
typedef AES | DefaultBlockCipher
| Default block cipher for DefaultEncryptor, DefaultDecryptor, DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.
typedef SHA256 | DefaultHashModule
| Default hash for use with DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.
typedef HMAC< DefaultHashModule > | DefaultMAC
| Default HMAC for use withDefaultEncryptorWithMAC and DefaultDecryptorWithMAC.
typedef DataParametersInfo< LegacyBlockCipher::BLOCKSIZE, LegacyBlockCipher::DEFAULT_KEYLENGTH, LegacyHashModule::DIGESTSIZE, 8, 200 > | LegacyParametersInfo
typedef DataParametersInfo< DefaultBlockCipher::BLOCKSIZE, DefaultBlockCipher::DEFAULT_KEYLENGTH, DefaultHashModule::DIGESTSIZE, 8, 2500 > | DefaultParametersInfo

## Detailed Description

Classes for DefaultEncryptor, DefaultDecryptor, DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.

Definition in file default.h.

## Typedef Documentation

## LegacyBlockCipher

typedef DES_EDE2 LegacyBlockCipher

Legacy block cipher for LegacyEncryptor, LegacyDecryptor, LegacyEncryptorWithMAC and LegacyDecryptorWithMAC.

Definition at line 20 of file default.h.

## LegacyHashModule

typedef SHA1 LegacyHashModule

Legacy hash for use with LegacyEncryptorWithMAC and LegacyDecryptorWithMAC.

Definition at line 22 of file default.h.

## LegacyMAC

typedef HMAC<LegacyHashModule> LegacyMAC

Legacy HMAC for use withLegacyEncryptorWithMAC and LegacyDecryptorWithMAC.

Definition at line 24 of file default.h.

## DefaultBlockCipher

typedef AES DefaultBlockCipher

Default block cipher for DefaultEncryptor, DefaultDecryptor, DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.

Definition at line 27 of file default.h.

## DefaultHashModule

typedef SHA256 DefaultHashModule

Default hash for use with DefaultEncryptorWithMAC and DefaultDecryptorWithMAC.

Definition at line 29 of file default.h.

## DefaultMAC

typedef HMAC<DefaultHashModule> DefaultMAC

Default HMAC for use withDefaultEncryptorWithMAC and DefaultDecryptorWithMAC.

Definition at line 31 of file default.h.

## LegacyParametersInfo

typedef DataParametersInfo<LegacyBlockCipher::BLOCKSIZE, LegacyBlockCipher::DEFAULT_KEYLENGTH, LegacyHashModule::DIGESTSIZE, 8, 200> LegacyParametersInfo

Definition at line 66 of file default.h.

## DefaultParametersInfo

typedef DataParametersInfo<DefaultBlockCipher::BLOCKSIZE, DefaultBlockCipher::DEFAULT_KEYLENGTH, DefaultHashModule::DIGESTSIZE, 8, 2500> DefaultParametersInfo

Definition at line 67 of file default.h.