mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
d64b7229cd
* chore: bump copyright in configure.ac * chore: bump copyright via copyright_header.py ran command `python3 contrib/devtools/copyright_header.py update .`
13 lines
442 B
C++
13 lines
442 B
C++
// Copyright (c) 2019-2021 The Dash Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#include <saltedhasher.h>
|
|
#include <random.h>
|
|
|
|
#include <limits>
|
|
|
|
SaltedHasherBase::SaltedHasherBase() : k0(GetRand(std::numeric_limits<uint64_t>::max())), k1(GetRand(std::numeric_limits<uint64_t>::max())) {}
|
|
|
|
SaltedHasherBase StaticSaltedHasher::s;
|