47 #ifndef _MIRA_SHA256_H_ 48 #define _MIRA_SHA256_H_ 52 #ifdef MIRA_USE_OPENSSL3 60 #ifdef MIRA_USE_OPENSSL3 67 class SHA256StreamBuf :
68 public OpenSSLWrapperMD
75 #else // MIRA_USE_OPENSSL3 101 virtual std::streamsize xsputn(
const char* s, std::streamsize n);
109 #endif // MIRA_USE_OPENSSL3 virtual ~SHA256StreamBuf()
The destructor.
A generic hash streambuf class.
Definition: HashStream.h:93
HashStream< SHA256StreamBuf > SHA256
A simple SHA256 hash stream.
Definition: SHA256.h:118
The SHA256 hash function.
Definition: SHA256.h:82
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
A generic hash digest, which consists of an array of bytes.
Definition: HashStream.h:65
SHA256StreamBuf()
Default constructor.
A template base class for hash functions based on std::ostream.
Definition: HashStream.h:157
Some basic classes for different Hash function.