From 016877aa55764d14af3c16645d64fd95bf6a2da1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 7 Aug 2016 11:44:23 -0400 Subject: aws spot instance attack cost estimate --- Tunables.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Tunables.hs') diff --git a/Tunables.hs b/Tunables.hs index 5c39a2d..f5832b4 100644 --- a/Tunables.hs +++ b/Tunables.hs @@ -23,7 +23,8 @@ defaultTunables = Tunables -- argon2 is GPU and ASIC resistent, so it uses CPU time. -- The above HashOptions were benchmarked at 661 seconds CPU time -- on a 2 core Intel(R) Core(TM) i5-4210Y CPU @ 1.50GHz. - , argonCost = CPUCost (Seconds 600) + -- Since cost is measured per core, we double that. + , argonCost = CPUCost (Seconds (2*600)) -- AES can be calculated more efficiently by a GPU, so this -- cost is a GPU cost. -- This is set to only 1 minute because GPUs are quite a lot -- cgit v1.2.3