summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.cc b/src/hash.cc
index 5b67d92..95f9997 100644
--- a/src/hash.cc
+++ b/src/hash.cc
@@ -35,7 +35,7 @@
std::string getEncoded(const Salt& salt, const std::string& password)
{
constexpr std::size_t hashlen = 32u;
- constexpr std::uint32_t t_cost = 10; // 10-pass computation
+ constexpr std::uint32_t t_cost = 9; // 9-pass computation
constexpr std::uint32_t m_cost = (1 << 16); // 64 mebibytes memory usage
constexpr std::uint32_t parallelism = 1; // number of threads and lanes