Go to the documentation of this file.
76 uint32_t bufTotal_[2];
88 void processBlock(
const void *
data,
size_t len);
91 void processBytes(
const void *
data,
size_t len);
105 inline explicit SHA1(
const char*
str);
108 inline explicit SHA1(
const std::string&
str);
114 void clear() noexcept;
128 const std::string&
str,
130 size_t len = std::string::npos
141 inline std::string
str(
const bool prefixed=
false)
const;
162 inline bool operator==(
const std::string& hexdigits)
const;
167 inline bool operator==(
const char* hexdigits)
const;
176 inline bool operator!=(
const std::string& hexdigits)
const;
179 inline bool operator!=(
const char* hexdigits)
const;
void clear() noexcept
Reset the hashed data before appending more.
SHA1 & append(const char *str)
Append data for processing.
std::string str(const bool prefixed=false) const
The digest (40-byte) text representation, optionally with '_' prefix.
Functions to compute SHA1 message digest according to the NIST specification FIPS-180-1.
bool operator==(const SHA1 &rhs) const
Equality operator, compares digests.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Ostream & write(Ostream &os, const bool prefixed=false) const
Write digest (40-byte) representation, optionally with '_' prefix.
OBJstream os(runTime.globalPath()/outputName)
SHA1Digest digest() const
Calculate digest from current data.
bool operator!=(const SHA1 &) const
Inequality operator, compares digests.
bool finalize()
Finalized the calculations (normally not needed directly).
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Database for solution data, solver performance and other reduced data.
dimensionedScalar pos(const dimensionedScalar &ds)