hash/siphash: set default compression/finalisation params
This commit is contained in:
parent
437b4267d3
commit
82b1c9fa40
@ -23,7 +23,7 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
namespace util::hash {
|
namespace util::hash {
|
||||||
template <int CompressionsV, int FinalisationsV>
|
template <int CompressionsV = 2, int FinalisationsV = 4>
|
||||||
class siphash {
|
class siphash {
|
||||||
public:
|
public:
|
||||||
using digest_t = std::uint64_t;
|
using digest_t = std::uint64_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user