10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
tenduke::crypto::HashFactory Class Referenceabstract

#include <HashFactory.h>

Detailed Description

Creates cryptographic hash functions.

Inheritance diagram for tenduke::crypto::HashFactory:
tenduke::crypto::win::cng::WinCNGHashFactory

Public Member Functions

virtual std::unique_ptr<::tenduke::crypto::CryptographicHashcreate (::tenduke::crypto::HashAlgorithm algorithm) const =0
 Creates a new message digest.

Member Function Documentation

◆ create()

virtual std::unique_ptr<::tenduke::crypto::CryptographicHash > tenduke::crypto::HashFactory::create ( ::tenduke::crypto::HashAlgorithm algorithm) const
pure virtual

Creates a new message digest.

Parameters
algorithmalgorithm to use
Returns
the message digest

Implemented in tenduke::crypto::win::cng::WinCNGHashFactory, and WinCNGHashFactory.


The documentation for this class was generated from the following file: