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