10Duke Enterprise C++ SDK
Toggle main menu visibility
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
8
namespace
tenduke
{
namespace
crypto
{
9
13
class
HashFactory
{
14
15
public
:
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
tenduke::crypto::HashFactory
Creates cryptographic hash functions.
Definition
HashFactory.h:13
tenduke::crypto::HashFactory::create
virtual std::unique_ptr<::tenduke::crypto::CryptographicHash > create(::tenduke::crypto::HashAlgorithm algorithm) const =0
Creates a new message digest.
tenduke::crypto
Cryptography services.
Definition
AbstractCiphers.h:18
tenduke::crypto::HashAlgorithm
HashAlgorithm
Currently supported hash algorithms.
Definition
HashAlgorithm.h:13
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
crypto
msgauthn
HashFactory.h
Generated by
1.17.0