18#ifndef TRINITY_ARGON2_H
19#define TRINITY_ARGON2_H
30 static constexpr uint32 HASH_LEN = 16;
31 static constexpr uint32 ENCODED_HASH_LEN = 100;
32 static constexpr uint32 DEFAULT_ITERATIONS = 10;
33 static constexpr uint32 DEFAULT_MEMORY_COST = (1u << 17);
34 static constexpr uint32 PARALLELISM = 1;
37 static bool Verify(std::string
const& password, std::string
const& hash);
std::optional< T > Optional
Optional helper class to wrap optional values within.