digestpp
1.0
C++11 header-only message digest library
Loading...
Searching...
No Matches
algorithm
lsh.hpp
Go to the documentation of this file.
1
/*
2
This code is written by kerukuro and released into public domain.
3
*/
4
5
#ifndef DIGESTPP_ALGORITHM_LSH_HPP
6
#define DIGESTPP_ALGORITHM_LSH_HPP
7
8
#include "
../hasher.hpp
"
9
#include "
detail/lsh_provider.hpp
"
10
11
namespace
digestpp
12
{
13
61
typedef
hasher<detail::lsh_provider<uint32_t>
>
lsh256
;
62
63
99
typedef
hasher<detail::lsh_provider<uint64_t>
>
lsh512
;
100
101
// End of LSH group
102
103
namespace
static_size
104
{
105
133
template
<
size_t
N>
134
using
lsh256
=
hasher<detail::lsh_provider<uint32_t, N>
>;
135
158
template
<
size_t
N>
159
using
lsh512
=
hasher<detail::lsh_provider<uint64_t, N>
>;
160
161
// End of LSH group
162
163
}
164
165
}
// namespace digestpp
166
167
#endif
// DIGESTPP_ALGORITHM_LSH_HPP
digestpp::hasher
Main class template implementing the public API for hashing.
Definition
hasher.hpp:38
digestpp::lsh256
hasher< detail::lsh_provider< uint32_t > > lsh256
LSH256 hash function.
Definition
lsh.hpp:61
digestpp::lsh512
hasher< detail::lsh_provider< uint64_t > > lsh512
LSH512 hash function.
Definition
lsh.hpp:99
hasher.hpp
lsh_provider.hpp
digestpp
digestpp namespace
Definition
ascon.hpp:14
Generated by
1.12.0