[Whonix-devel] Argon2id Security Margin Calculation

Solar Designer solar at openwall.com
Mon Sep 24 08:13:05 CEST 2018


On Mon, Sep 24, 2018 at 01:40:00AM +0000, procmem wrote:
> Would I be correct if I say that the exponent 20 comes from the 2^20
> bytes in 1 GiB RAM?

You mean kilobytes.  Yes.

> So going up to 4 GiB RAM changes it to 22. (i=iterations)
> 
> 20+log2(i) -> 22+log2(i)
> 
> For 4 GiB against ASICs the equation changes as below?
> 20+20-log2(8*4)+log2(i) -> 22+22-log2(8*4)+log2(i)

Correct.

Alexander


More information about the Whonix-devel mailing list