SecurityParameters

Parameters to the argon2 function. Bigger numbers make it harder to crack, but also take more resources for legitimate users too (e.g. making logins and signups slower and more memory-intensive). Some examples are provided. HighSecurity is about 3/4 second on my computer, MediumSecurity about 1/3 second, LowSecurity about 1/10 second.

struct SecurityParameters {
uint cpuCost;
uint parallelism;
}

Members

Variables

memoryCost
uint memoryCost;

in KiB fyi

Suggestion Box / Bug Report