diff options
Diffstat (limited to 'CPP/7zip/Crypto/Rar20/Rar20Cipher.h')
-rwxr-xr-x | CPP/7zip/Crypto/Rar20/Rar20Cipher.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/CPP/7zip/Crypto/Rar20/Rar20Cipher.h b/CPP/7zip/Crypto/Rar20/Rar20Cipher.h new file mode 100755 index 00000000..e2091cda --- /dev/null +++ b/CPP/7zip/Crypto/Rar20/Rar20Cipher.h @@ -0,0 +1,35 @@ +// Crypto/Rar20Cipher.h + +#ifndef __CRYPTO_RAR20_CIPHER_H +#define __CRYPTO_RAR20_CIPHER_H + +#include "../../ICoder.h" +#include "../../IPassword.h" +#include "Common/MyCom.h" + +#include "Common/Types.h" +#include "Rar20Crypto.h" + +namespace NCrypto { +namespace NRar20 { + +class CDecoder: + public ICompressFilter, + public ICryptoSetPassword, + public CMyUnknownImp +{ +public: + CData _coder; + + MY_UNKNOWN_IMP1(ICryptoSetPassword) + + STDMETHOD(Init)(); + STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size); + + STDMETHOD(CryptoSetPassword)(const Byte *data, UInt32 size); + +}; + +}} + +#endif |