blob: e2091cdaf7efea597b41c5f49ab1a0430016c20b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
|