#include <Digest.h>
Public Member Functions | |
void | append (std::string const &s) |
void | append (const char *data, size_t size) |
Digest (std::string const &s) | |
Digest () | |
MD5Result | digest () const |
Private Attributes | |
md5_state_t | state_ |
cms::Digest::Digest | ( | ) |
cms::Digest::Digest | ( | std::string const & | s | ) | [explicit] |
void cms::Digest::append | ( | std::string const & | s | ) |
Definition at line 182 of file Digest.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, md5_append(), and state_.
Referenced by Digest(), edm::Entry::toDigest(), edm::VParameterSetEntry::toDigest(), edm::ParameterSetEntry::toDigest(), edm::ParameterSet::toDigest(), and edm::hash_detail::toDigest_().
{ const md5_byte_t* data = reinterpret_cast<const md5_byte_t*>(s.data()); md5_append(&state_, const_cast<md5_byte_t*>(data), s.size()); }
void cms::Digest::append | ( | const char * | data, |
size_t | size | ||
) |
Definition at line 188 of file Digest.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, md5_append(), asciidump::s, and state_.
{ const md5_byte_t* data = reinterpret_cast<const md5_byte_t*>(s); md5_append(&state_, const_cast<md5_byte_t*>(data), size); }
MD5Result cms::Digest::digest | ( | ) | const |
Definition at line 194 of file Digest.cc.
References cms::MD5Result::bytes, md5_finish(), and state_.
Referenced by edm::ParameterSet::calculateID(), DQMRootOutputModule::DQMRootOutputModule(), dumpInitHeader(), edm::EntryDescription::id(), edm::EventEntryDescription::id(), edm::ProcessHistory::id(), edm::Parentage::id(), edm::ProcessConfiguration::id(), edm::RootOutputFile::RootOutputFile(), and DQMRootSource::setupFile().
{ MD5Result aDigest; md5_finish(&state_, aDigest.bytes); return aDigest; }
md5_state_t cms::Digest::state_ [mutable, private] |