55 processBytes(data, len);
62 processBytes(str.data(), str.size());
71 processBytes(str, strlen(str));
81 return this->digest() == rhs.
digest();
87 return this->digest() == rhs;
93 return this->digest() == hexdigits;
99 return this->digest() == hexdigits;
137 return os << sha.
digest();
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Functions to compute SHA1 message digest according to the NIST specification FIPS-180-1.
SHA1 & append(const char *data, size_t len)
Append data for processing.
bool operator==(const SHA1 &) const
Equality operator, compares digests.
bool operator!=(const SHA1 &) const
Inequality operator, compares digests.
void clear()
Reset the hashed data before appending more.
SHA1Digest digest() const
Calculate current digest from appended data.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)