1#ifndef SOURCEMETA_CORE_CRYPTO_H_
2#define SOURCEMETA_CORE_CRYPTO_H_
4#ifndef SOURCEMETA_CORE_CRYPTO_EXPORT
5#include <sourcemeta/core/crypto_export.h>
19#include <sourcemeta/core/crypto_aes_cbc_hmac.h>
20#include <sourcemeta/core/crypto_aes_gcm.h>
21#include <sourcemeta/core/crypto_aes_kw.h>
22#include <sourcemeta/core/crypto_base64.h>
23#include <sourcemeta/core/crypto_crc32.h>
24#include <sourcemeta/core/crypto_ecdh.h>
25#include <sourcemeta/core/crypto_fnv128.h>
26#include <sourcemeta/core/crypto_hmac_sha256.h>
27#include <sourcemeta/core/crypto_hmac_sha384.h>
28#include <sourcemeta/core/crypto_hmac_sha512.h>
29#include <sourcemeta/core/crypto_rsa_oaep.h>
30#include <sourcemeta/core/crypto_secure.h>
31#include <sourcemeta/core/crypto_sha1.h>
32#include <sourcemeta/core/crypto_sha256.h>
33#include <sourcemeta/core/crypto_sha384.h>
34#include <sourcemeta/core/crypto_sha512.h>
35#include <sourcemeta/core/crypto_sign.h>
36#include <sourcemeta/core/crypto_uuid.h>
37#include <sourcemeta/core/crypto_verify.h>
45namespace sourcemeta::core {
63auto SOURCEMETA_CORE_CRYPTO_EXPORT
random_bytes(std::span<std::uint8_t> buffer)
78auto SOURCEMETA_CORE_CRYPTO_EXPORT
random_bytes(
const std::size_t length)
96 const std::string_view left,
const std::string_view right)
noexcept -> bool;
auto SOURCEMETA_CORE_CRYPTO_EXPORT secure_equals(const std::string_view left, const std::string_view right) noexcept -> bool
auto SOURCEMETA_CORE_CRYPTO_EXPORT random_bytes(std::span< std::uint8_t > buffer) -> void