1 #ifndef CRYPTOPP_DEFAULT_H
2 #define CRYPTOPP_DEFAULT_H
10 NAMESPACE_BEGIN(CryptoPP)
24 void FirstPut(
const byte *);
25 void LastPut(
const byte *inString,
size_t length);
42 Err(
const std::string &s)
47 enum State {WAITING_FOR_KEYCHECK, KEY_GOOD, KEY_BAD};
48 State CurrentState()
const {
return m_state;}
51 void FirstPut(
const byte *inString);
52 void LastPut(
const byte *inString,
size_t length);
57 void CheckKey(
const byte *salt,
const byte *keyCheck);
62 bool m_throwException;
73 void FirstPut(
const byte *inString) {}
74 void LastPut(
const byte *inString,
size_t length);
89 DefaultDecryptor::State CurrentState()
const;
90 bool CheckLastMAC()
const;
93 void FirstPut(
const byte *inString) {}
94 void LastPut(
const byte *inString,
size_t length);
99 bool m_throwException;
base class for all exceptions thrown by Crypto++
Base class for Filter classes that are proxies for a chain of other filters.
Password-Based Encryptor using DES-EDE2.
data integerity check (such as CRC or MAC) failed
Password-Based Decryptor using DES-EDE2.
Filter Wrapper for HashTransformation.
Password-Based Encryptor using DES-EDE2 and HMAC/SHA-1.
Password-Based Decryptor using DES-EDE2 and HMAC/SHA-1.