|
Arachne 1.0
Arachne - the perpetual stitcher of Wikidata entities.
|
#include "arachne/crypto.hpp"#include <algorithm>#include <bit>#include <cctype>#include <cerrno>#include <fstream>#include <limits>#include <stdexcept>#include <system_error>
Go to the source code of this file.
Namespaces | |
| namespace | arachne |
| namespace | arachne::crypto |
| namespace | arachne::crypto::anonymous_namespace{crypto.cpp} |
Functions | |
| std::uint32_t | arachne::crypto::anonymous_namespace{crypto.cpp}::load_be32 (const std::byte *bytes) noexcept |
| void | arachne::crypto::anonymous_namespace{crypto.cpp}::store_be32 (std::byte *output, const std::uint32_t value) noexcept |
| std::string | arachne::crypto::anonymous_namespace{crypto.cpp}::to_hex (const sha256_digest &digest) |
| std::string | arachne::crypto::sha256 (std::span< const std::byte > bytes) |
| std::string | arachne::crypto::sha256 (std::string_view bytes) |
| std::string | arachne::crypto::sha256_file (const std::filesystem::path &path) |
| bool | arachne::crypto::is_safe_relative_artifact_ref (std::string_view artifact_ref) noexcept |
| std::filesystem::path | arachne::crypto::safe_artifact_path (const std::filesystem::path &root, std::string_view artifact_ref) |
Variables | |
| constexpr std::array< std::uint32_t, 64 > | arachne::crypto::anonymous_namespace{crypto.cpp}::round_constants |
| constexpr char | arachne::crypto::anonymous_namespace{crypto.cpp}::hexadecimal [] = "0123456789abcdef" |