diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-14 12:22:32 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-14 12:22:32 -0700 |
commit | faed477de3454a72f1e466c67e948b7819fd96a9 (patch) | |
tree | 70b5a70d7ed78001bfcd6b513b72d91afb83a6ef /Tunables.hs | |
parent | f3c75396af2f21790a1e0232b0c42790bff82f04 (diff) | |
parent | 8adbfac38a1d6b206c6e40f70f73aaa555435b8e (diff) | |
download | keysafe-faed477de3454a72f1e466c67e948b7819fd96a9.tar.gz |
Merge tag '0.20180326'
tagging package keysafe version 0.20180326
# gpg: Signature made Mon 26 Mar 2018 05:12:25 AM MST
# gpg: using RSA key 28A500C35207EAB72F6C0F25DB12DB0FF05F8F38
# gpg: Good signature from "Joey Hess <joeyh@joeyh.name>" [full]
# Primary key fingerprint: E85A 5F63 B31D 24C1 EBF0 D81C C910 D922 2512 E3C7
# Subkey fingerprint: 28A5 00C3 5207 EAB7 2F6C 0F25 DB12 DB0F F05F 8F38
Diffstat (limited to 'Tunables.hs')
-rw-r--r-- | Tunables.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tunables.hs b/Tunables.hs index 5c28a39..2e96b8c 100644 --- a/Tunables.hs +++ b/Tunables.hs @@ -112,6 +112,8 @@ defaultTunables = Tunables let Divisibility n = d in fromIntegral n , Argon2.hashVariant = Argon2.Argon2i + , Argon2.hashVersion = Argon2.Argon2Version13 + , Argon2.hashLength = 64 } d = Divisibility 4 -- argon2 uses 4 threads @@ -156,6 +158,8 @@ proofOfWorkHashTunable addits = , Argon2.hashMemory = 1000 , Argon2.hashParallelism = 4 , Argon2.hashVariant = Argon2.Argon2i + , Argon2.hashVersion = Argon2.Argon2Version13 + , Argon2.hashLength = 64 } where nits = 20 + addits |