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