Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
crypto_sha1.h
1#ifndef SOURCEMETA_CORE_CRYPTO_SHA1_H_
2#define SOURCEMETA_CORE_CRYPTO_SHA1_H_
3
4#ifndef SOURCEMETA_CORE_CRYPTO_EXPORT
5#include <sourcemeta/core/crypto_export.h>
6#endif
7
8#include <ostream> // std::ostream
9#include <string> // std::string
10#include <string_view> // std::string_view
11
12namespace sourcemeta::core {
13
26auto SOURCEMETA_CORE_CRYPTO_EXPORT sha1(const std::string_view input,
27 std::ostream &output) -> void;
28
39auto SOURCEMETA_CORE_CRYPTO_EXPORT sha1(const std::string_view input)
40 -> std::string;
41
42} // namespace sourcemeta::core
43
44#endif
auto SOURCEMETA_CORE_CRYPTO_EXPORT sha1(const std::string_view input, std::ostream &output) -> void