Difference between revisions of "Argon2"

From CryptoLUX
Jump to: navigation, search
Line 57: Line 57:
[[Media:Argon-v1.pdf | Argon1 Reference Guide]]
[[Media:Argon-v1.pdf | Argon1 Reference Guide]]
[https://github.com/khovratovich/Argon Reference and optimized implementations of Argon1]
==Other resources==
==Other resources==
Line 64: Line 66:
[https://github.com/xebia/argon2-go Go wrapper]
[https://github.com/xebia/argon2-go Go wrapper]
[https://github.com/khovratovich/Argon Reference and optimized implementations of Argon1]
=Egalitarian Computing=
=Egalitarian Computing=

Revision as of 20:32, 17 May 2017


Argon2 is a new hash function, which summarizes the state of the art in the design of memory-hard functions. It is a streamlined and simple design. It aims at the highest memory filling rate and effective use of multiple computing units, while still providing defense against tradeoff attacks. Argon2 is optimized for the x86 architecture and exploits the cache and memory organization of the recent Intel and AMD processors.


Argon2 has one primary variant: Argon2id, and two supplementary variants: Argon2d and Argon2i. Argon2d uses data-depending memory access, which makes it suitable for cryptocurrencies and proof-of-work applications with no threats from side-channel timing attacks. Argon2i uses data-independent memory access, which is preferred for password hashing and password-based key derivation. Argon2id works as Argon2i for the first half of the first iteration over the memory, and as Argon2d for the rest, thus providing both side-channel attack protection and brute-force cost savings due to time-memory tradeoffs. Argon2i makes more passes over the memory to protect from tradeoff attacks.

Winner of PHC

Argon2 (version 1.3) is the winner of the Password Hashing Competition.


Specification of Argon2 v 1.3 (24.03.2017)

IRTF draft of Argon2 (25.03.2017)


Reference implementation in C89 (PHC release)

Links to bindings in other languages

Original implementations in C99 and C++11



A. Biryukov and D. Khovratovich "Fast and Tradeoff-Resilient Memory-Hard Functions for Cryptocurrencies and Password Hashing". Introduces Argon2 and its fast-verification feature.

A. Biryukov, D. Dinu, and D. Khovratovich "Argon2, new generation of memory-hard functions for password hashing and other applications", Euro S&P 2016.

A. Biryukov and D. Khovratovich "Design Rationality and Security Analysis of PHC Candidates: Overview"


J. Alwen and J. Blocki, "Towards Practical Attacks on Argon2i and Balloon Hashing"

J. Alwen and J. Blocki "Efficiently Computing Data-Independent Memory-Hard Functions" (Crypto 2016)

Research paper "Tradeoff cryptanalysis of memory-hard functions" (Asiacrypt 2015), Talk at PasswordsCon'14, extended version,

Argon1 (deprecated)

Argon1 Presentation Slides

Argon1 Reference Guide

Reference and optimized implementations of Argon1

Other resources

Online hash generator

Go wrapper

Egalitarian Computing

It is a new concept that to remedy the disparity between hardware-equipped attackers and legitimate security engineers one has to amalgamate computing for security with a memory-hard function.

"Argon2 and Egalitarian Computing" at Real World Cryptography 2016

Asiacrypt 2015 rump session slides