xref: /aosp_15_r20/external/pdfium/testing/utils/hash.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
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