55 Ostream&
operator<<(Ostream&,
const SHA1Digest&);
71 static const unsigned length = 20;
85 static unsigned char readHexDigit(
Istream&);
111 std::string
str(
const bool prefixed=
false)
const;
126 bool operator==(
const std::string& hexdigits)
const;
139 bool operator!=(
const std::string& hexdigits)
const;
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool operator==(const SHA1Digest &) const
Equality operator.
std::string str(const bool prefixed=false) const
Return (40-byte) text representation, optionally with '_' prefix.
bool empty() const
Return true if the digest is empty (ie, all zero).
SHA1Digest()
Construct a zero digest.
friend Istream & operator>>(Istream &, SHA1Digest &)
Read (40-byte) text representation.
static const unsigned length
The length of the (uncoded) digest contents.
Ostream & write(Ostream &, const bool prefixed=false) const
Write (40-byte) text representation, optionally with '_' prefix.
friend Ostream & operator<<(Ostream &, const SHA1Digest &)
Write (40-byte) text representation, unquoted and without prefix.
void clear()
Reset the digest to zero.
bool operator!=(const SHA1Digest &) const
Inequality operator.
Functions to compute SHA1 message digest according to the NIST specification FIPS-180-1.
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)