6 #ifndef CRYPTOPP_DEFAULT_H 7 #define CRYPTOPP_DEFAULT_H 44 void FirstPut(
const byte *);
45 void LastPut(
const byte *inString,
size_t length);
51 } CRYPTOPP_DEPRECATED (
"DefaultEncryptor will be changing in the near future because the algorithms are no longer secure");
76 Err(
const std::string &s)
81 enum State {WAITING_FOR_KEYCHECK, KEY_GOOD, KEY_BAD};
82 State CurrentState()
const {
return m_state;}
85 void FirstPut(
const byte *inString);
86 void LastPut(
const byte *inString,
size_t length);
91 void CheckKey(
const byte *salt,
const byte *keyCheck);
96 bool m_throwException;
98 } CRYPTOPP_DEPRECATED (
"DefaultDecryptor will be changing in the near future because the algorithms are no longer secure");
124 void FirstPut(
const byte *inString) {CRYPTOPP_UNUSED(inString);}
125 void LastPut(
const byte *inString,
size_t length);
130 } CRYPTOPP_DEPRECATED (
"DefaultEncryptorWithMAC will be changing in the near future because the algorithms are no longer secure");
161 DefaultDecryptor::State CurrentState()
const;
162 bool CheckLastMAC()
const;
165 void FirstPut(
const byte *inString) {CRYPTOPP_UNUSED(inString);}
166 void LastPut(
const byte *inString,
size_t length);
171 bool m_throwException;
173 } CRYPTOPP_DEPRECATED (
"DefaultDecryptorWithMAC will be changing in the near future because the algorithms are no longer secure");
Base class for all exceptions thrown by the library.
Base class for Filter classes that are proxies for a chain of other filters.
Password-Based Encryptor using TripleDES.
Class file for modes of operation.
Exception(ErrorType errorType, const std::string &s)
Construct a new Exception.
Classes for automatic resource management.
Excpetion thrown when an incorrect MAC is encountered.
Data integerity check, such as CRC or MAC, failed.
Password-Based Decryptor using TripleDES.
DefaultDecryptor(const char *passphrase, BufferedTransformation *attachment=NULL, bool throwException=true)
Constructs a DefaultDecryptor.
Classes for HMAC message authentication codes.
Filter wrapper for HashTransformation.
Block cipher mode of operation aggregate.
2-key TripleDES block cipher
Password-Based encryptor using TripleDES and HMAC/SHA-1.
Classes for DES, 2-key Triple-DES, 3-key Triple-DES and DESX.
Classes for SHA-1 and SHA-2 family of message digests.
Implementation of BufferedTransformation's attachment interface.
Password-Based decryptor using TripleDES and HMAC/SHA-1.
Crypto++ library namespace.