class MD5
Declaration
class MD5 { /* full declaration omitted */ };Declared at: llvm/include/llvm/Support/MD5.h:41
Method Overview
- public MD5()
 - public void final(llvm::MD5::MD5Result & Result)
 - public static std::array<uint8_t, 16> hash(ArrayRef<uint8_t> Data)
 - public static void stringifyResult(llvm::MD5::MD5Result & Result, SmallString<32> & Str)
 - public void update(ArrayRef<uint8_t> Data)
 - public void update(llvm::StringRef Str)
 
Methods
¶MD5()
MD5()Declared at: llvm/include/llvm/Support/MD5.h:82
¶void final(llvm::MD5::MD5Result& Result)
void final(llvm::MD5::MD5Result& Result)Description
Finishes off the hash and puts the result in result.
Declared at: llvm/include/llvm/Support/MD5.h:91
Parameters
- llvm::MD5::MD5Result& Result
 
¶static std::array<uint8_t, 16> hash(
    ArrayRef<uint8_t> Data)
static std::array<uint8_t, 16> hash(
    ArrayRef<uint8_t> Data)Description
Computes the hash for a given bytes.
Declared at: llvm/include/llvm/Support/MD5.h:98
Parameters
- ArrayRef<uint8_t> Data
 
¶static void stringifyResult(
    llvm::MD5::MD5Result& Result,
    SmallString<32>& Str)
static void stringifyResult(
    llvm::MD5::MD5Result& Result,
    SmallString<32>& Str)Description
Translates the bytes in \p Res to a hex string that is deposited into \p Str. The result will be of length 32.
Declared at: llvm/include/llvm/Support/MD5.h:95
Parameters
- llvm::MD5::MD5Result& Result
 - SmallString<32>& Str
 
¶void update(ArrayRef<uint8_t> Data)
void update(ArrayRef<uint8_t> Data)Description
Updates the hash for the byte stream provided.
Declared at: llvm/include/llvm/Support/MD5.h:85
Parameters
- ArrayRef<uint8_t> Data
 
¶void update(llvm::StringRef Str)
void update(llvm::StringRef Str)Description
Updates the hash for the StringRef provided.
Declared at: llvm/include/llvm/Support/MD5.h:88
Parameters
- llvm::StringRef Str