Shavite3512
Biham and Dunkelman's HAIFA hash built on AES rounds, a SHA-3 second-round candidate
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 Shavite3512
Shavite3512 is a cryptographic hash function from the SHAvite-3 family. It produces a 64-byte (512-bit) output. 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
SHAvite-3 is a hash function designed by Eli Biham and Orr Dunkelman for the NIST SHA-3 competition, where it reached the second round. It uses the HAIFA mode with a block cipher built from AES rounds.
SHAvite-3's compression function is a Davies–Meyer construction around a Feistel block cipher whose round function consists of AES rounds. SHAvite-3-256 uses a 256-bit chaining value with a 3-round AES-based Feistel function over 12 rounds; SHAvite-3-512 uses a 512-bit chaining value in a generalised Feistel network over 14 rounds. A salt and bit counter are mixed into the key schedule, following HAIFA.
The 512-bit version was tweaked during round two after cryptanalysis of its key schedule. NextSSL includes SHAvite-3-256 and SHAvite-3-512 entries wired from benchmarking sources. The design is a direct descendant of earlier HAIFA work by the same authors, which proposed adding a salt and counter to every compression call. Like the other non-selected candidates, its main value today is as a reference point for understanding the designs NIST evaluated and the cryptanalysis the competition produced.
History
2007–2015NIST announces a public competition for a new hash standard, SHA-3
NIST SHA-3 competitionSHAvite-3 published by Eli Biham, Orr Dunkelman
64 designs submitted; 51 accepted into round 1
NIST SHA-3 competition14 designs advance to round 2
NIST SHA-3 competitionFive finalists named: BLAKE, Grøstl, JH, Keccak and Skein
NIST SHA-3 competitionKeccak selected as SHA-3
NIST SHA-3 competitionSHA-3 published as FIPS 202
NIST SHA-3 competition
Security notes
Attacks on the compression function of the original 512-bit version prompted a tweak; no practical attack on the full tweaked hash is known. It was not selected as a finalist.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 64 | Output |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
digest = root.call("hash_with", "shavite3512", None, b"abc")[0]
nextssl_root_hash_with("shavite3512", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "shavite3512", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is Shavite3512?
Shavite3512 is a hash in the SHAvite-3 family. SHAvite-3 is a hash function designed by Eli Biham and Orr Dunkelman for the NIST SHA-3 competition, where it reached the second round.
What are the Shavite3512 sizes?
In NextSSL, Shavite3512 uses: output 64 bytes.
Who designed Shavite3512 and when?
Shavite3512 belongs to the SHAvite-3 family, first published in 2008 by Eli Biham, Orr Dunkelman. Its origin: NIST SHA-3 competition (round 2).
Is Shavite3512 safe to use?
Shavite3512 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).
Related families
The Advanced Encryption Standard: the world's default 128-bit block cipher
ECHOAn AES-round-based SHA-3 candidate from Orange Labs that reached the second round
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2