hash/siphash: set default compression/finalisation params

This commit is contained in:
Danny Robson 2018-06-01 13:21:36 +10:00
parent 437b4267d3
commit 82b1c9fa40

View File

@ -23,7 +23,7 @@
#include <type_traits>
namespace util::hash {
template <int CompressionsV, int FinalisationsV>
template <int CompressionsV = 2, int FinalisationsV = 4>
class siphash {
public:
using digest_t = std::uint64_t;