1 // Copyright 2019 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef TESTING_UTILS_HASH_H_ 6 #define TESTING_UTILS_HASH_H_ 7 8 #include <string> 9 10 #include "third_party/base/containers/span.h" 11 12 std::string CryptToBase16(const uint8_t* digest); 13 std::string GenerateMD5Base16(pdfium::span<const uint8_t> data); 14 15 #endif // TESTING_UTILS_HASH_H_ 16