Cubehash1632
CubeHash-16/32: a 512-bit CubeHash parameter set, archived as unverified code
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 Cubehash1632
Cubehash1632 is a cryptographic hash function from the CubeHash-16/32 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
CubeHash-16/32 is a CubeHash parameter set with a 512-bit digest, from Daniel J. Bernstein's SHA-3 candidate. NextSSL archives it as unverified research code.
CubeHash is a sponge-like ARX construction. Each parameter set fixes the number of rounds per block and the digest length, so the same permutation gives several separate functions. Entries without a round label are carried as single archived designs, and their provenance is recorded only as far as the source data goes. Each output length is listed separately so that tests can select the exact digest size.
NextSSL lists cubehash1632 with output 512-bit (64 bytes). The parameter set differs from the round 2 candidate in its round and digest settings, and the archive tracks it as its own entry. The tier is unverified, which means no review of the design, its parameters or its test vectors is recorded. Production code should use SHA-2 or SHA-3 as standardised by NIST, and treat these entries as research material.
CubeHash was a SHA-3 candidate. NextSSL marks this entry as unverified, so it is for research and comparison only. Entries without a round label are carried as single archived designs, and their provenance is recorded only as far as the source data goes. Each output length is listed separately so that tests can select the exact digest size. The tier is unverified, which means no review of the design, its parameters or its test vectors is recorded.
History
2008–2008CubeHash-16/32 published by Daniel J. Bernstein
How it works
- The message is padded and absorbed in blocks.
- The ARX permutation runs the configured number of rounds per block.
- The output is taken from the final state and truncated to 64 bytes.
Security notes
No practical attack is recorded in NextSSL's data. The entry is tiered unverified, so no security claim is made.
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", "cubehash1632", None, b"abc")[0]
nextssl_root_hash_with("cubehash1632", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "cubehash1632", &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 Cubehash1632?
Cubehash1632 is a hash in the CubeHash-16/32 family. CubeHash-16/32 is a CubeHash parameter set with a 512-bit digest, from Daniel J. Bernstein's SHA-3 candidate.
What are the Cubehash1632 sizes?
In NextSSL, Cubehash1632 uses: output 64 bytes.
Who designed Cubehash1632 and when?
Cubehash1632 belongs to the CubeHash-16/32 family, first published in 2008 by Daniel J. Bernstein.
Is Cubehash1632 safe to use?
Cubehash1632 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
A Merkle-tree hash over BLAKE2s rounds, designed for parallel speed and unlimited output
CubeHash (SHA-3 round 2)CubeHash round 2: Bernstein's ARX sponge-like SHA-3 candidate, with 224 to 512-bit digests
Keccak (SHA-3 round 3)Keccak round 3: the finalist sponge hash that NIST standardised as SHA-3 in FIPS 202
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
Skein (SHA-3 round 3)Skein round 3: the Threefish-based SHA-3 finalist, with 224 to 512-bit digests
BLAKE3A Merkle-tree hash over BLAKE2s rounds, designed for parallel speed and unlimited output