Hash functions

Cubehash1632

CubeHash-16/32: a 512-bit CubeHash parameter set, archived as unverified code

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 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–2008
  1. CubeHash-16/32 published by Daniel J. Bernstein

How it works

  1. The message is padded and absorbed in blocks.
  2. The ARX permutation runs the configured number of rounds per block.
  3. 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

Comparison of CubeHash parameter setsResearch into ARX hashingNot recommended for production hashing

Sizes

FieldBytesMeaning
out64Output

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]

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

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