Password hashing

Schvrch-PHC

Schvrch (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 Schvrch-PHC

Schvrch-PHC is a password hashing function from the Schvrch (PHC) family. It uses a 16–256-byte output and a 0–64-byte salt. It takes the parameters m_cost (default 0), 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

Schvrch 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.

Schvrch 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 schvrch-phc, with output 16 to 256 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. Schvrch published by Rade Vuckovac

  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
out16 – 256Output
salt0 – 64Salt

Parameters

NameTypeRangeDefaultRequired
m_cost u32 0 – 1024 0 no
out_len u32 16 – 256 32 no
t_cost u32 0 – 1024 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", "schvrch-phc", None, b"correct horse")[0]   # PHC string, fresh salt
ok  = root.check("pwhash_verify", "schvrch-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 Schvrch-PHC?

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

What are the Schvrch-PHC sizes?

In NextSSL, Schvrch-PHC uses: output 16 to 256 bytes.

Who designed Schvrch-PHC and when?

Schvrch-PHC belongs to the Schvrch (PHC) family, first published in 2014 by Rade Vuckovac. Its origin: Password Hashing Competition submission (2014-2015).

Which standards define Schvrch-PHC?

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

Is Schvrch-PHC safe to use?

Schvrch-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).