Loading...
Searching...
No Matches
Sha256.cpp File Reference
#include "Sha256.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <cstring>
#include <fstream>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.

Functions

std::string gpr::sha256Hex (const void *data, std::size_t size)
 Lowercase hexadecimal SHA-256 digest of a byte range (FIPS 180-4).
std::string gpr::sha256File (const std::string &path)
 Digest of a file's contents; empty when the file cannot be read.