10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
HashFactory.h
1#ifndef TENDUKE_CRYPTO_HASHFACTORY_H
2#define TENDUKE_CRYPTO_HASHFACTORY_H
3
4#include "./CryptographicHash.h"
5#include "./HashAlgorithm.h"
6#include <memory>
7
8namespace tenduke { namespace crypto {
9
14
15public:
16 virtual ~HashFactory() = default;
17
23 virtual std::unique_ptr<::tenduke::crypto::CryptographicHash> create(::tenduke::crypto::HashAlgorithm algorithm) const = 0;
24};
25
26}}
27
28#endif //TENDUKE_CRYPTO_HASHFACTORY_H
Creates cryptographic hash functions.
Definition HashFactory.h:13
virtual std::unique_ptr<::tenduke::crypto::CryptographicHash > create(::tenduke::crypto::HashAlgorithm algorithm) const =0
Creates a new message digest.
Cryptography services.
Definition AbstractCiphers.h:18
HashAlgorithm
Currently supported hash algorithms.
Definition HashAlgorithm.h:13
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4