Hash functions

Xoodyak-Hash

A NIST LWC finalist using the 384-bit Xoodoo permutation in the Cyclist duplex mode

research Root API only
Research tier.

Experimental or unclassified. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Xoodyak-Hash

Xoodyak-Hash is one of 2 Xoodyak variants in the NextSSL registry, a cryptographic hash function. It produces a 32-byte (256-bit) output. Its registry entry cites Xoodyak round-2 (v1) (NIST LWC). NextSSL lists it in the research tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

Xoodyak is a versatile lightweight cryptographic scheme from the Keccak team, offering hashing, MAC, AEAD and pseudo-random generation from a single duplex object. It was one of the ten NIST Lightweight Cryptography finalists.

Xoodoo is a 384-bit permutation organised as three planes of four 32-bit lanes, a smaller cousin of Keccak-f. Each of its 12 rounds applies a column-parity mixing step theta, plane shifts, a chi-like non-linear step and a round constant. Xoodyak drives Xoodoo through the Cyclist mode, which alternates absorb and squeeze calls in a duplex fashion; in hash mode the rate is 16 bytes.

NextSSL carries Xoodyak-Hash with 256-bit output as specified in the round-2 (v1) Xoodyak submission. The Xoodoo permutation was designed to give strong bounds on differential and linear trails with a small 384-bit state, and the Cyclist mode lets one object provide hashing and keyed operations. Xoodyak's hash mode is a sponge with 256-bit capacity, giving 128-bit security.

History

2018–2025
  1. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  2. Xoodyak published by Joan Daemen, Seth Hoffert, Michaël Peeters, Gilles Van Assche, Ronny Van Keer

  3. 56 round-1 candidates accepted; 32 advance to round 2 in August

    NIST Lightweight Cryptography project
  4. Ten finalists announced

    NIST Lightweight Cryptography project
  5. Ascon selected as the lightweight standard

    NIST Lightweight Cryptography project
  6. Ascon published in NIST SP 800-232

    NIST Lightweight Cryptography project

Security notes

No practical attacks on full Xoodoo or Xoodyak are known. It was not chosen as the NIST standard, but it is well analysed and also used in other designs such as Farfalle-based constructions.

Typical uses

Lightweight hashing on 32-bit processorsSession-style protocols using a duplex object

Sizes

FieldBytesMeaning
out32Output

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'research' is reachable from the root API only
digest = root.call("hash_with", "xoodyak-hash", None, b"abc")[0]

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

Other Xoodyak variants

1

Frequently asked questions

What is Xoodyak-Hash?

Xoodyak-Hash is a hash in the Xoodyak family. Xoodyak is a versatile lightweight cryptographic scheme from the Keccak team, offering hashing, MAC, AEAD and pseudo-random generation from a single duplex object.

What are the Xoodyak-Hash sizes?

In NextSSL, Xoodyak-Hash uses: output 32 bytes.

Who designed Xoodyak-Hash and when?

Xoodyak-Hash belongs to the Xoodyak family, first published in 2019 by Joan Daemen, Seth Hoffert, Michaël Peeters, Gilles Van Assche, Ronny Van Keer. Its origin: NIST Lightweight Cryptography process finalist.

Which standards define Xoodyak-Hash?

Xoodyak-Hash is referenced by Xoodyak round-2 (v1) (NIST LWC).

Is Xoodyak-Hash safe to use?

Xoodyak-Hash is in the research tier. Experimental or unclassified. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).

What other Xoodyak variants are there?

NextSSL also registers xoodyakv1-hash in the Xoodyak family.