On the Depth-Robustness and Cumulative Pebbling Cost of Argon2i

Abstract

Argon2i is a data-independent memory hard function that won the password hashing competition. The password hashing algorithm has already been incorporated into several open source crypto libraries such as libsodium. In this paper we analyze the cumulative memory cost of computing Argon2i. On the positive side we provide a lower bound for Argon2i. On the negative side we exhibit an improved attack against Argon2i which demonstrates that our lower bound is nearly tight. In particular, we show that (1) An Argon2i DAG is (e,O(n3/e3)))\left(e,O\left(n^3/e^3\right)\right))-reducible. (2) The cumulative pebbling cost for Argon2i is at most O(n1.768)O\left(n^{1.768}\right). This improves upon the previous best upper bound of O(n1.8)O\left(n^{1.8}\right) [Alwen and Blocki, EURO S&P 2017]. (3) Argon2i DAG is (e,Ω~(n3/e3)))\left(e,\tilde{\Omega}\left(n^3/e^3\right)\right))-depth robust. By contrast, analysis of [Alwen et al., EUROCRYPT 2017] only established that Argon2i was (e,Ω~(n2/e2)))\left(e,\tilde{\Omega}\left(n^2/e^2\right)\right))-depth robust. (4) The cumulative pebbling complexity of Argon2i is at least Ω~(n1.75)\tilde{\Omega}\left( n^{1.75}\right). This improves on the previous best bound of Ω(n1.66)\Omega\left( n^{1.66}\right) [Alwen et al., EUROCRYPT 2017] and demonstrates that Argon2i has higher cumulative memory cost than competing proposals such as Catena or Balloon Hashing. We also show that Argon2i has high {\em fractional} depth-robustness which strongly suggests that data-dependent modes of Argon2 are resistant to space-time tradeoff attacks

    Similar works