|
| | Hasher (const Algorithm::Hash &algorithm) noexcept |
| | Initializes a Hasher instance with the specified hashing algorithm.
|
| |
| | Hasher (const Hasher &hasher)=default |
| | Copy constructor for the Hasher class.
|
| |
| | Hasher (Hasher &&hasher) noexcept=default |
| | Move constructor for the Hasher class.
|
| |
|
| ~Hasher () noexcept=default |
| | Destructor for the Hasher class.
|
| |
| Hasher & | operator= (const Hasher &hasher)=default |
| | Copy assignment operator for the Hasher class.
|
| |
| Hasher & | operator= (Hasher &&hasher) noexcept=default |
| | Move assignment operator for the Hasher class.
|
| |
| Expected< std::string, Exception > | Hash (const std::string &input) const noexcept |
| | Hashes a string input using the specified hashing algorithm.
|
| |
| Expected< std::string, Exception > | Hash (const Buffer::Simple &buffer) const noexcept |
| | Hashes a buffer using the specified hashing algorithm.
|
| |
| Buffer::Consumer | Hash (const Buffer::Consumer consumer) const noexcept |
| | Hashes data asynchronously using a Consumer/Producer model.
|
| |
A class for managing hashing operations.
This class provides methods for hashing data using various hashing algorithms.