40 class = std::enable_if_t<!std::is_same_v<std::decay_t<RangeT>,
DataT>,
int>>
52 class = std::enable_if_t<!std::is_same_v<std::decay_t<RangeT>,
DataT>,
int>>
55 return std::move(*this).
process(
DataT(data.begin(), data.end()));
64 class = std::enable_if_t<!std::is_same_v<std::decay_t<RangeT>,
DataT>,
int>>
73 std::string
get()
const;
77 std::unique_ptr<Private> m_d;
Definition: sha256.hpp:21
SHA256Desc process(DataT data) const &
Process data and return the next hash state.
Definition: sha256.cpp:30
void processInPlace(DataT data)
Process data in-place.
Definition: sha256.cpp:44
std::string DataT
Definition: sha256.hpp:23
std::string get() const
Get the hash result as unpadded base64.
Definition: sha256.cpp:49
void processInPlace(RangeT data)
Definition: sha256.hpp:65
SHA256Desc()
Construct a SHA256 description.
Definition: sha256.cpp:21
SHA256Desc process(RangeT data) &&
Definition: sha256.hpp:53
SHA256Desc process(RangeT data) const &
Definition: sha256.hpp:41
A RangeT is an ordered collection that can be iterated through.
Definition: range-t.hpp:21
auto end() const
The past-end iterator of this range.
auto begin() const
The beginning iterator of this range.
#define KAZV_DECLARE_COPYABLE(typeName)
Definition: copy-helper.hpp:10
Definition: location.hpp:10
@ Private
Definition: client-model.hpp:41