9 #ifndef _CRYPTO_STREAMS_LIB_ICRYPTOENGINE
10 #define _CRYPTO_STREAMS_LIB_ICRYPTOENGINE
13 #include "ICryptoHash.h"
14 #include "ICryptoKey.h"
20 CRYPTO_ALGORITHM_AES_ECB = 0,
21 CRYPTO_ALGORITHM_AES_CBC = 1,
22 CRYPTO_ALGORITHM_AES_CBC_PKCS7 = 2,
28 virtual std::shared_ptr<ICryptoKey>CreateKey(
const uint8_t *pbKey,
30 CryptoAlgorithm algorithm) =
32 virtual std::shared_ptr<ICryptoHash> CreateHash(CryptoHashAlgorithm algorithm) =
34 static std::shared_ptr<ICryptoEngine>Create();
39 #endif // _CRYPTO_STREAMS_LIB_ICRYPTOENGINE
Definition: BlockBasedProtectedStream.cpp:13
Definition: ICryptoEngine.h:25