Aller au contenu
uencoder

Argon2 Specification Référence

Detailed référence pour Argon2 (Argon2d, Argon2i, Argon2id), le Mot de passe Hashing Competition winner.

Algorithm Variants

Argon2d uses data-dependent memory access, maximizing resistance to time-memory tradeoffs but vulnerable to side-channel attacks. Argon2i uses data-independent access, resisting side-channel attacks but with weaker TMTO resistance. Argon2id is a hybrid: first half of passes use data-independent, rest data-dependent. Argon2id is recommended by RFC 9106 for general-purpose password hashing.

Argon2d
Data-dependent access
best TMTO resistance
Argon2i
Data-independent access
side-channel safe
Argon2id
Hybrid, recommended
RFC 9106 default

Parameters

The memory parameter m specifies the required memory in kibibytes. The time parameter t controls the number of passes over the memory. Parallelism p sets the number of parallel lanes. The salt must be at least 16 bytes and unique per password. Typical recommended values are m=65536 (64 MiB), t=3, p=4 for interactive login. The output length is configurable, typically 32 bytes.

memory m
Required RAM in KiB
65536 = 64 MiB
time t
Number of passes
3 typical
parallelism p
Parallel lanes
4 typical

Outils associés

参考链接