Function digest

Summary

#include "breeze/cryptography/digest.hpp"

(1) explicit digest(Hasher hasher_copy)

(2) template <typename InputIter>
    digest(InputIter begin, InputIter end)

Function overload

Synopsis

#include "breeze/cryptography/digest.hpp"

explicit digest(Hasher hasher_copy)

Description

Constructs a digest from a Hasher. Since the Hasher argument is passed by value its state is not affected.

Source

Line 49 in breeze/cryptography/digest.hpp.

Synopsis

#include "breeze/cryptography/digest.hpp"

template <typename InputIter>
digest(InputIter begin, InputIter end)

Description

Constructs the digest of the range [begin, end). This constructor saves the user from constructing a Hasher object explicitly, but, of course, is only suitable if the input range is all available at once. If you need to accumulate the input in multiple steps, you'll need to use a Hasher in your client code, instead.

Source

Line 59 in breeze/cryptography/digest.hpp.