Android-cuttlefish cvd tool
Namespaces | Functions
digest.h File Reference
#include <string>
#include "absl/strings/string_view.h"
#include "cuttlefish/result/result.h"
Include dependency graph for digest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cuttlefish
 

Functions

Result< std::string > cuttlefish::Sha256File (const std::string &path)
 
std::string cuttlefish::Sha256Hex (absl::string_view data)
 
Result< void > cuttlefish::VerifySha256 (const std::string &path, absl::string_view expected, absl::string_view artifact_name)
 
Result< void > cuttlefish::VerifyMd5 (const std::string &path, absl::string_view expected_base64, absl::string_view artifact_name)