1#ifndef SOURCEMETA_CORE_CRYPTO_SHA512_H_
2#define SOURCEMETA_CORE_CRYPTO_SHA512_H_
4#ifndef SOURCEMETA_CORE_CRYPTO_EXPORT
5#include <sourcemeta/core/crypto_export.h>
14namespace sourcemeta::core {
28auto SOURCEMETA_CORE_CRYPTO_EXPORT
sha512(
const std::string_view input,
29 std::ostream &output) -> void;
41auto SOURCEMETA_CORE_CRYPTO_EXPORT
sha512(
const std::string_view input)
54auto SOURCEMETA_CORE_CRYPTO_EXPORT
sha512_digest(
const std::string_view input)
55 -> std::array<std::uint8_t, 64>;
auto SOURCEMETA_CORE_CRYPTO_EXPORT sha512_digest(const std::string_view input) -> std::array< std::uint8_t, 64 >
auto SOURCEMETA_CORE_CRYPTO_EXPORT sha512(const std::string_view input, std::ostream &output) -> void