#include <hash.h>
|
| Md5 () |
|
| Md5 (const AsciiPtr ascii) |
|
| Md5 (const HexPtr hex) |
|
| Md5 (const char *chars, const unsigned length) |
|
| Md5 (const uint64_t lo, const uint64_t hi) |
|
void | ToIntPair (uint64_t *lo, uint64_t *hi) const |
|
unsigned | GetDigestSize () const |
|
unsigned | GetHexSize () const |
|
| Digest () |
|
| Digest (const Algorithms a, const HexPtr hex, const char s=0) |
|
| Digest (const Algorithms a, const unsigned char *digest_buffer, const Suffix s=kSuffixNone) |
|
void | Randomize () |
|
void | Randomize (const uint64_t seed) |
|
void | Randomize (Prng *prng) |
|
bool | HasSuffix () const |
|
void | set_suffix (const Suffix s) |
|
std::string | ToString (const bool with_suffix=false) const |
|
std::string | ToFingerprint (const bool with_suffix=false) const |
|
std::string | ToStringWithSuffix () const |
|
std::string | MakePath () const |
|
std::string | MakeAlternativePath () const |
|
std::string | MakePathWithoutSuffix () const |
|
std::string | MakePathExplicit (const unsigned dir_levels, const unsigned digits_per_level, const Suffix hash_suffix=kSuffixNone) const |
|
bool | IsNull () const |
|
uint32_t | Partial32 () const |
|
void | SetNull () |
|
bool | operator== (const Digest< digest_size_, algorithm_ > &other) const |
|
bool | operator!= (const Digest< digest_size_, algorithm_ > &other) const |
|
bool | operator< (const Digest< digest_size_, algorithm_ > &other) const |
|
bool | operator> (const Digest< digest_size_, algorithm_ > &other) const |
|
Definition at line 445 of file hash.h.
Fast constructor for hashing path names.
Definition at line 356 of file hash.cc.
shash::Md5::Md5 |
( |
const HexPtr |
hex | ) |
|
|
inlineexplicit |
shash::Md5::Md5 |
( |
const char * |
chars, |
|
|
const unsigned |
length |
|
) |
| |
shash::Md5::Md5 |
( |
const uint64_t |
lo, |
|
|
const uint64_t |
hi |
|
) |
| |
An MD5 hash can be seen as two 64bit integers.
Definition at line 379 of file hash.cc.
void shash::Md5::ToIntPair |
( |
uint64_t * |
lo, |
|
|
uint64_t * |
hi |
|
) |
| const |
The documentation for this struct was generated from the following files:
- /home/sftnight/jenkins/workspace/CvmfsDoxygen/label/docker-x86_64/cvmfs/cvmfs/crypto/hash.h
- /home/sftnight/jenkins/workspace/CvmfsDoxygen/label/docker-x86_64/cvmfs/cvmfs/crypto/hash.cc