refactor: use Span in random.*
This commit is contained in:
1 parent
cea230eec4
commit
3ae7791bca
12 files changed
+21
-19
No files matched your search
@@ -81,7 +81,7 @@ BOOST_AUTO_TEST_CASE(passphrase) {
|
||||
|
||||
std::string hash(GetRandHash().ToString());
|
||||
std::vector<unsigned char> vchSalt(8);
|
||||
GetRandBytes(vchSalt.data(), vchSalt.size());
|
||||
GetRandBytes(vchSalt);
|
||||
uint32_t rounds = InsecureRand32();
|
||||
if (rounds > 30000)
|
||||
rounds = 30000;
|
||||
|
||||
Reference in new issue
Block a user