CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
shash::Sha1 Struct Reference

#include <hash.h>

Inheritance diagram for shash::Sha1:
Collaboration diagram for shash::Sha1:

Additional Inherited Members

- Public Member Functions inherited from shash::Digest< 20, kSha1 >
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
 
- Public Attributes inherited from shash::Digest< 20, kSha1 >
unsigned char digest [digest_size_]
 
Algorithms algorithm
 
Suffix suffix
 

Detailed Description

Definition at line 458 of file hash.h.


The documentation for this struct was generated from the following file: