#include <SHA1Calculator.hpp>
|
static std::string | hash (const std::string &buffer) |
| static function to calculate hash of a buffer More...
|
|
static std::string | hash (const unsigned char *buffer, size_t bufferSize) |
| static function to calculate hash of a buffer More...
|
|
static std::string | hash (std::istream &is) |
| static function to calculate hash of an input stream More...
|
|
static std::string | hashFile (const std::string &filename) |
| static function to calculate hash of a file More...
|
|
|
boost::shared_ptr< Impl > | impl_ |
|
Definition at line 37 of file SHA1Calculator.hpp.
§ SHA1Calculator() [1/2]
pwiz::util::SHA1Calculator::SHA1Calculator |
( |
| ) |
|
§ SHA1Calculator() [2/2]
§ reset()
void pwiz::util::SHA1Calculator::reset |
( |
| ) |
|
resets hash
Referenced by test().
§ update() [1/2]
void pwiz::util::SHA1Calculator::update |
( |
const unsigned char * |
buffer, |
|
|
size_t |
bufferSize |
|
) |
| |
§ update() [2/2]
void pwiz::util::SHA1Calculator::update |
( |
const std::string & |
buffer | ) |
|
update hash with buffer of bytes
§ close()
void pwiz::util::SHA1Calculator::close |
( |
| ) |
|
§ hash() [1/4]
std::string pwiz::util::SHA1Calculator::hash |
( |
| ) |
const |
§ hashProjected()
std::string pwiz::util::SHA1Calculator::hashProjected |
( |
| ) |
const |
§ hash() [2/4]
static std::string pwiz::util::SHA1Calculator::hash |
( |
const std::string & |
buffer | ) |
|
|
static |
static function to calculate hash of a buffer
§ hash() [3/4]
static std::string pwiz::util::SHA1Calculator::hash |
( |
const unsigned char * |
buffer, |
|
|
size_t |
bufferSize |
|
) |
| |
|
static |
static function to calculate hash of a buffer
§ hash() [4/4]
static std::string pwiz::util::SHA1Calculator::hash |
( |
std::istream & |
is | ) |
|
|
static |
static function to calculate hash of an input stream
§ hashFile()
static std::string pwiz::util::SHA1Calculator::hashFile |
( |
const std::string & |
filename | ) |
|
|
static |
static function to calculate hash of a file
Referenced by testFile().
§ operator=()
§ impl_
boost::shared_ptr<Impl> pwiz::util::SHA1Calculator::impl_ |
|
private |
The documentation for this class was generated from the following file: