Xoodyak Explained: 5 Facts About the Lightweight All-Rounder

Xoodyak explained in plain terms means understanding the lightweight scheme that does hashing, authentication and encryption with a single permutation, a design from the Keccak team that squeezes every job out of the 384-bit Xoodoo permutation. The central question is how one small permutation can do three jobs at once, and the answer is that Xoodyak wraps Xoodoo in a mode called Cyclist, which turns the same permutation into a hash, a MAC and an authenticated cipher.

Xoodyak is a cryptographic scheme built on the Xoodoo permutation and submitted to the NIST lightweight cryptography competition in 2019. It offers hashing, message authentication and authenticated encryption in one design, was chosen as a finalist in 2021, and it is built so that a tiny device needs only one piece of code for all three jobs.

This article gives you five facts about Xoodyak, explains what it is, how it works, and where it is used today.

Key takeaways

  • Xoodyak is a lightweight scheme built on the Xoodoo permutation.
  • It provides hashing, MAC and authenticated encryption in one design.
  • It was a finalist in the NIST lightweight cryptography competition.
  • It uses the Cyclist mode to switch between its jobs.
  • It is used in embedded systems and small devices.

What Xoodyak is

The first fact is that Xoodyak is an all-rounder. Most lightweight schemes do one job, but Xoodyak does three, hashing for fingerprints, message authentication for integrity, and authenticated encryption for secrecy, which means a device that runs Xoodyak needs only one cryptographic core, and that consolidation is what makes it attractive for tiny hardware.

The second fact is that it is built on Xoodoo. The Xoodoo permutation works on a 384-bit state, runs for 12 rounds, and mixes the state with rotations, XORs and ANDs, which means the permutation is small enough for a microcontroller yet strong enough for real security, and that balance is what the Keccak team designed it for.

The third fact is that the Cyclist mode does the switching. Cyclist is a duplex-style mode that absorbs data into the state and squeezes results out, and it changes its behaviour depending on whether the caller wants a hash, a MAC or encryption, which means the same code path serves all three jobs, and that reuse is the heart of the design.

The fourth fact is that Xoodyak reached the NIST final. When NIST narrowed its lightweight cryptography competition to ten finalists in 2021, Xoodyak was among them, which means the design survived years of public analysis, and that survival is a mark of quality even though Ascon eventually won the competition in 2023.

The fifth fact is that Xoodyak is fast in hardware. A permutation built from simple operations maps cleanly onto small circuits, and that hardware friendliness is real, measured in published benchmarks and confirmed by the designers’ own analysis of the round function.

Our guide to AES encryption explains the standard that protects messages today, and our guide to symmetric encryption explains how shared-key ciphers work.

How Xoodyak works

Everything starts with the state, which is a 384-bit grid of 32-bit words that the Xoodoo permutation scrambles. Data is absorbed into the state in blocks, the permutation runs, and results are squeezed out, which means the state is the whole working memory of the scheme, and the security of the design rests on how thoroughly the permutation mixes it.

Each round begins with the theta step, which mixes each column of the state with its neighbours. The step computes a parity value for every column and XORs it into the others, which means a change in one word spreads sideways across the state, and because theta runs in every round, diffusion builds quickly.

The rho steps are what make the permutation work as a whole. After theta, the words are rotated by fixed amounts that differ between the east and west planes of the state, which means bits move to new positions in every round, and because the rotations are different in each plane, the state never settles into a repeating pattern.

The chi step spreads the effect further. Chi is a non-linear operation that combines each word with its neighbours using AND and NOT, which means a small change in the input produces a large and unpredictable change in the output, and that non-linearity is what stops an attacker from tracing bits through the rounds.

The iota step adds the round constant. A small constant that changes with the round number is XORed into the state, which means the rounds behave differently from each other, and because the constants break the symmetry between rounds, an attacker cannot exploit repeated structure.

The Cyclist mode turns the permutation into the three services. For hashing, data is absorbed and the digest is squeezed out; for authentication, a key is absorbed first and a tag is squeezed out; for encryption, the key and nonce are absorbed, the plaintext is XORed with the keystream, and a tag is produced, which means one mode serves every job, and that unity is what makes Xoodyak so compact.

A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it
A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it, shows how Xoodyak works: states take turns through Xoodoo rounds, mode after mode, until the job is done.

Comparing Xoodyak with other lightweight schemes

Xoodyak is one of several lightweight schemes, and each was built with a different emphasis. Ascon is the scheme that won the NIST competition with a 320-bit state, Gimli is the permutation-based scheme with the smallest code, and Xoodyak is the all-rounder that does three jobs with one permutation, while each approach trades something for something else.

The table below sets out the main contrasts between the leading approaches.

Aspect Xoodyak Ascon Gimli
Permutation Xoodoo Ascon-p Gimli
State 384 bits 320 bits 384 bits
Modes Hash, AEAD, MAC AEAD, hash AEAD, hash
NIST LWC Finalist Winner Candidate
Best for Lightweight all-round Standard use Tiny devices

The practical result is that Xoodyak is the right choice for a lightweight all-rounder, Ascon suits standard use, and Gimli fits tiny devices instead.

Where Xoodyak is used

Research uses it as a case study in multi-purpose design. Cryptographers still cite Xoodyak when they discuss how much one permutation can do, because it is the clearest example of a scheme that hashes, authenticates and encrypts with a single core, and that lesson shapes how new lightweight schemes are judged today.

Teaching uses it to show how sponge designs work. Xoodyak is clean enough to explain in a lecture and well documented enough to implement in an afternoon, which makes it a favourite example in cryptography courses that cover duplex modes and the ideas that shaped them.

Benchmarks use it to measure lightweight schemes. When someone builds a new library or a new piece of hardware, Xoodyak is one of the designs they test, because its rounds exercise different parts of a processor than other schemes do, and a platform that runs Xoodyak well is likely to run most lightweight schemes well.

Embedded systems use it where code space is scarce. A small number of devices and libraries include Xoodyak support because one core does three jobs, and those implementations keep running in the background of systems that were built around that choice, even though most new designs choose Ascon today.

Standards history uses it to mark the lightweight era. Xoodyak was part of the NIST competition that chose the world’s lightweight standard, and it represents the all-rounder path that contest explored, which means historians of the field return to it whenever they ask what lightweight cryptography might have looked like.

Strengths and limits

The greatest strength of Xoodyak is its versatility. A single permutation that provides hashing, authentication and encryption saves code space on tiny devices, and that reuse is real, measured in the implementations that run it and confirmed by the designers’ own analysis of the Cyclist mode.

It is also a strength that the design comes from the Keccak team. A scheme built by the people behind SHA-3 rests on deep experience with permutations, and that pedigree is worth more than cleverness in a field where experience is the scarcest resource.

The limits are real, though, and the biggest is adoption. Xoodyak was not selected as the NIST standard, which means smaller communities of implementers, fewer independent reviews in recent years, and less tooling than Ascon enjoys, and a system that must interoperate will usually choose the winner instead.

Xoodyak checklist

  • Use Xoodyak for study and tiny devices, not for new systems.
  • Remember it does hashing, MAC and AEAD with one permutation.
  • Study its Cyclist mode to understand duplex design.
  • Compare it with Ascon to see the all-rounder trade-off.
  • Note its 384-bit state when benchmarking.
  • Test against published test vectors before trusting any implementation.
  • Keep keys random and protect them as carefully as with any cipher.
  • Use a proper nonce, never reuse one under the same key.
  • Choose Ascon for any system that needs a standard today.

Frequently asked questions

What is Xoodyak in simple terms?

It is a lightweight cryptographic scheme that does hashing, authentication and encryption with a single 384-bit permutation called Xoodoo.

Why is it called Xoodyak?

After the Xoodoo permutation at its heart, with a name that echoes the Keccak team’s playful naming style, which has stuck through years of study.

How is Xoodyak different from Ascon?

Both are lightweight schemes, but Xoodyak is built on the 384-bit Xoodoo permutation with a single mode for three jobs, while Ascon uses a 320-bit permutation and won the NIST competition.

Is Xoodyak still secure?

Yes, no practical attack against it has been published, and its design survived years of public analysis as a NIST lightweight finalist.

Where is Xoodyak used?

In embedded systems and research implementations, wherever one small core must provide hashing, authentication and encryption together.

When should I use Xoodyak?

When you study lightweight cryptography, when you teach duplex modes, or when you want a scheme that shows how much one permutation can do.

The bottom line

Xoodyak explained in one line is this: the all-rounder that does three jobs, a single-permutation design that proved one core is enough.

It is proof that one permutation can do everything, and the reason it still matters is that every lightweight scheme designed since has been judged partly by the lesson Xoodyak taught.

This article is general information about how Xoodyak works, not advice about choosing encryption for a particular device or system.

Latest articles

Scroll to Top