|
CCF
|
#include <hash_provider.h>
Inherited by ccf::crypto::OpenSSLHashProvider.
Public Member Functions | |
| virtual HashBytes | Hash (const uint8_t *data, size_t size, MDType type) const =0 |
| virtual | ~HashProvider ()=default |
|
virtualdefault |
|
pure virtual |
Generic Hash function
| data | The data to hash |
| size | The size of data |
| type | The type of hash to compute |
Implemented in ccf::crypto::OpenSSLHashProvider.