wpiutil: SHA1: Add method to get raw bytes instead of hex

This commit is contained in:
Peter Johnson
2018-11-18 18:26:01 -08:00
parent 45f4472d42
commit 75cc3cda28
2 changed files with 22 additions and 6 deletions

View File

@@ -38,6 +38,7 @@ class SHA1 {
void Update(raw_istream& is);
std::string Final();
StringRef Final(SmallVectorImpl<char>& buf);
StringRef RawFinal(SmallVectorImpl<char>& buf);
static std::string FromFile(StringRef filename);
private: