class
#include <rll/crypto/basic_hasher.h>
basic_hasher Derived classes
- class md5
Constructors, destructors, conversion operators
- basic_hasher() defaulted
-
basic_hasher(basic_
hasher const&) defaulted -
basic_hasher(basic_
hasher &&) defaulted - ~basic_hasher() defaulted virtual
Public functions
-
auto append(std::
string const& str) → basic_hasher & pure virtual -
auto append(std::
string_view str) → basic_hasher & pure virtual -
auto append(void const* str,
std::
size_t len) → basic_hasher & pure virtual -
template <typename T, typename = std::auto append_raw(T const& value) → basic_
enable_if_t <std::is_standard_layout_v <T> and std::is_trivial_v <T>>>hasher & -
auto hash_string() const → std::
string pure virtual -
auto operator<<(std::
string const& str) → basic_hasher & -
auto operator<<(std::
string_view const str) → basic_hasher & -
template <typename T, typename = std::auto operator<<(T const& value) → basic_
enable_if_t < std::is_standard_layout_v <T> and std::is_trivial_v <T> and not std::is_convertible_v <T, std::string > and not std::is_pointer_v <T>>>hasher & -
auto operator=(basic_
hasher const&) → basic_hasher & defaulted -
auto operator=(basic_
hasher &&) → basic_hasher & defaulted - void reset() pure virtual