summaryrefslogtreecommitdiff
path: root/src/sha1.hh
blob: a885a0919a054894855ec9fd46836cab8daa35e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef SHA1_HH
#define SHA1_HH

#include <array>    // IWYU pragma: export
#include <cstdint>  // IWYU pragma: export
#include <span>     // IWYU pragma: export

namespace sha1 {

std::array<uint8_t, 20> hash(std::span<uint8_t const> input);
std::array<uint8_t, 20> hash(std::span<char const> input);

}  // namespace sha1

#endif  // SHA1_HH