ARGON2-CALIBRATE(1p)
π ARGON2-CALIBRATE(1p) π
okay bestie, welcome to the User Contributed Perl Documentation corner of the manual β yes this is a 1p page, we're in Perl territory, hydration is mandatory π«Ά
β¨ NAME β¨
argon2-calibrate β literally just a script that helps you find the right argon2 parameters π
πΈ VERSION πΈ
version 0.031 β
π¦ DESCRIPTION π¦
so this program runs through a whole procedure, and it's the exact one the argon2 authors recommend. no cap, we're just following their recipe:
- Pick your type, call it
y. If you have zero clue what the difference between the types even is, just go Argon2id. it's giving safe choice π - Figure out the max number of threads,
h, that each call to Argon2 can actually kick off. that number is the "parallelism" argument, periodt. - Figure out the max amount of memory
mthat each call can afford. - Figure out the max amount
xof time (in seconds, bestie, seconds) that each call can afford. - Pick the salt length.
16 bytesis sufficient for all applications β¨ but you can drop it to8 bytesif you're in a space-constraints situation. - Pick the tag (output) size.
16 bytesis sufficient for most applications, key derivation included π - Now run the scheme of type
y, memorym, andhlanes and threads, using a different number of passest. Find the maxtwhere the running time does not go overx. If it blows pastxeven att = 1, then reducemaccordingly. And if you're using Argon2i,tmust be at least 3. no exceptions, iykyk π - Hash all the passwords with the values
m,h, andtyou just figured out. slay, you're done π
lowkey the whole point is: your machine has limits, your users have patience limits, and this script helps you find the sweet spot between them π
π AUTHOR π
Leon Timmermans <fawaka@gmail.com> π
π COPYRIGHT AND LICENSE π
This software is Copyright (c) 2013 by Daniel Dinu, Dmitry Khovratovich, Jean-Philippe Aumasson, Samuel Neves, Thomas Pornin and Leon Timmermans.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
and that's the whole page, bestie!! π¦β¨ this rendition came to you via perl v5.42.3, dated 2026-08-19 β mwah, take care of your hashes ππ π«Ά
π¦ where this page comes from
- ubuntu stonking: libcrypt-argon2-perl 0.031-1build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms