Password hashing

Lanarea-PHC

Lanarea (PHC): a Password Hashing Competition submission for password hashing

unverified Root API only
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Lanarea-PHC

Lanarea-PHC is a password hashing function from the Lanarea (PHC) family. It uses a 32–128-byte output and a 1–64-byte salt. It takes the parameters m_cost (default 1), out_len (default 32) and t_cost (default 1). Its registry entry cites Password Hashing Competition submission (2014-2015), PHC API PHS(). NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

Lanarea is a password hashing scheme submitted to the Password Hashing Competition, held from 2014 to 2015. It is not a PHC finalist, and NextSSL lists it as unverified, so it is not a recommended choice for new password storage.

Lanarea follows the PHC API, PHS(), so it takes a password, salt, output length and tuning parameters through the same interface as Argon2. NextSSL archives it as lanarea-phc, with output 32 to 128 bytes. The Password Hashing Competition aimed to replace older password hashes with schemes that resist GPU and ASIC cracking. Argon2 was selected as the winner in 2015 and is specified in RFC 9106.

Password hashing competition entries were judged on memory hardness, side-channel resistance and tunability. Most candidates received limited public analysis, so NextSSL's tier is unverified rather than a recommendation. Entries were compared on memory hardness, resistance to time-memory trade-offs, side-channel resistance and tunability. The memory, time and parallelism parameters are set by the caller, so the same password gives different hashes under different settings.

For new systems, use Argon2id, which won the Password Hashing Competition and is specified in RFC 9106. Keep this entry for research, comparison and interoperability tests only. The Password Hashing Competition aimed to replace older password hashes with schemes that resist GPU and ASIC cracking. Argon2 was selected as the winner in 2015 and is specified in RFC 9106. Entries were compared on memory hardness, resistance to time-memory trade-offs, side-channel resistance and tunability.

History

2013–2015
  1. Password Hashing Competition announced

    Password Hashing Competition
  2. Lanarea published by Haneef Mubarak

  3. 24 candidates submitted; nine finalists named in December

    Password Hashing Competition
  4. Argon2 selected; special recognition for Catena, Lyra2, Makwa and yescrypt

    Password Hashing Competition

How it works

  1. The password and salt are absorbed into a memory-hard state.
  2. The state is mixed over several passes, with the time and memory costs set by the parameters.
  3. The final state is output as the hash at the requested length.

Security notes

NextSSL records no independent review for this candidate, so no security claim is made. Use Argon2id for password storage.

Typical uses

Password hashing researchInteroperability tests with PHC-format hashesNot recommended for new password storage

Sizes

FieldBytesMeaning
out32 – 128Output
salt1 – 64Salt

Parameters

NameTypeRangeDefaultRequired
m_cost u32 1 – 64 1 no
out_len u32 32 – 128 32 no
t_cost u32 1 – 8 1 no

Parameters are passed as a string, for example nextssl_mac("hmac", "hash=sha512", …). Omitted parameters take their declared default.

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
phc = root.call("pwhash", "lanarea-phc", None, b"correct horse")[0]   # PHC string, fresh salt
ok  = root.check("pwhash_verify", "lanarea-phc", None, b"correct horse", phc)

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently asked questions

What is Lanarea-PHC?

Lanarea-PHC is a password hash in the Lanarea (PHC) family. Lanarea is a password hashing scheme submitted to the Password Hashing Competition, held from 2014 to 2015.

What are the Lanarea-PHC sizes?

In NextSSL, Lanarea-PHC uses: output 32 to 128 bytes.

Who designed Lanarea-PHC and when?

Lanarea-PHC belongs to the Lanarea (PHC) family, first published in 2014 by Haneef Mubarak. Its origin: Password Hashing Competition submission (2014-2015).

Which standards define Lanarea-PHC?

Lanarea-PHC is referenced by Password Hashing Competition submission (2014-2015), PHC API PHS().

Is Lanarea-PHC safe to use?

Lanarea-PHC is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).