Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
hash.h
Go to the documentation of this file.
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
12std::string CryptToBase16(const uint8_t* digest);
13std::string GenerateMD5Base16(pdfium::span<const uint8_t> data);
14
15#endif // TESTING_UTILS_HASH_H_
void CRYPT_MD5Finish(CRYPT_md5_context *context, uint8_t digest[16])
Definition fx_crypt.cpp:214
CRYPT_md5_context CRYPT_MD5Start()
Definition fx_crypt.cpp:176
TEST(FXCRYPT, CryptToBase16)
TEST(FXCRYPT, MD5GenerateEmtpyData)
std::string GenerateMD5Base16(pdfium::span< const uint8_t > data)
Definition hash.cpp:21
std::string CryptToBase16(const uint8_t *digest)
Definition hash.cpp:9
static constexpr int32_t kPermutationLength
Definition fx_crypt.h:15
int32_t m[kPermutationLength]
Definition fx_crypt.h:19