Lyra2

Lyra2 is a password hashing scheme (PHS) that can also function as a key derivation function (KDF). It gained recognition during the Password Hashing Competition in July 2015, which was won by Argon2. It is also used in proof-of-work algorithms such as Lyra2REv2, adopted by Vertcoin and MonaCoin, among other cryptocurrencies.

Lyra2 was designed by Marcos A. Simplicio Jr., Leonardo C. Almeida, Ewerton R. Andrade, Paulo C. F. dos Santos, and Paulo S. L. M. Barreto from Escola Politécnica da Universidade de São Paulo. It is based on Lyra, which had been created by the same team. Lyra2 includes:

  • The ability to configure the desired amount of memory, processing time, and parallelism for the algorithm.
  • High memory usage with processing time similar to scrypt.

In addition, it:

  • Provides higher security against time-memory trade-offs.
  • Allows legitimate users to better benefit from the parallelism capabilities of their own platforms.
  • Increases the costs of creating dedicated hardware to attack the algorithm.
  • Balances resistance against side-channel threats and attacks using cheaper, slower storage devices.

Lyra2 is released into the public domain.