41#ifndef Foam_SHA1Digest_H
42#define Foam_SHA1Digest_H
66 std::array<unsigned char, 20> dig_;
78 bool isEqual(
const char* hexdigits, std::size_t len)
const;
110 std::string
str(
const bool prefixed=
false)
const;
131 bool operator==(
const std::string& hexdigits)
const;
144 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 &rhs) const
Inequality 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()
Default construct a zero digest.
bool operator==(const SHA1Digest &rhs) const
Equality operator.
void clear()
Reset the digest to zero.
static const SHA1Digest null
A null digest (ie, all zero)
Istream & read(Istream &is)
Read (40-byte) text representation.
Functions to compute SHA1 message digest according to the NIST specification FIPS-180-1.
Database for solution data, solver performance and other reduced data.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)