GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
Sha256.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) gpridge developers
3
// See LICENSE for details.
4
5
#ifndef GPR_AUXILIARY_SHA256_H_
6
#define GPR_AUXILIARY_SHA256_H_
7
8
#include <cstddef>
9
#include <string>
10
11
namespace
gpr
{
12
14
std::string
sha256Hex
(
const
void
* data, std::size_t size);
15
17
std::string
sha256File
(
const
std::string& path);
18
19
}
// namespace gpr
20
21
#endif
gpr
Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
Definition
Macros.h:16
gpr::sha256Hex
std::string sha256Hex(const void *data, std::size_t size)
Lowercase hexadecimal SHA-256 digest of a byte range (FIPS 180-4).
Definition
Sha256.cpp:127
gpr::sha256File
std::string sha256File(const std::string &path)
Digest of a file's contents; empty when the file cannot be read.
Definition
Sha256.cpp:134
gpr
auxiliary
Sha256.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf