Hash functions

Romulus-Hash

A NIST LWC finalist family built on the SKINNY tweakable block cipher

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 Romulus-Hash

Romulus-Hash is a cryptographic hash function from the Romulus family. It produces a 32-byte (256-bit) output. Its registry entry cites Romulus-H v1.3 (NIST LWC finalist). 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

Romulus is a family of lightweight AEAD and hash algorithms based on the SKINNY-128-384+ tweakable block cipher. It was one of the ten NIST Lightweight Cryptography finalists.

Romulus-H, the hash, uses a double-block-length construction: the Hirose compression function turns a 128-bit-block tweakable cipher into a 256-bit compression function by running it twice under related inputs, and an MDPH (Merkle–Damgård with Permutation) mode iterates it over the message. This gives 256-bit output from a 128-bit cipher with proofs in the ideal-cipher model.

NextSSL carries Romulus-H as specified in version 1.3 of the Romulus finalist submission. The Romulus family also includes Romulus-N and Romulus-M for authenticated encryption, which use the same SKINNY-128-384+ cipher with nonce-based and misuse-resistant modes. The hash entry here is limited to Romulus-H. Using one cipher across modes keeps hardware small, which was a central goal of the design.

History

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

    NIST Lightweight Cryptography project
  2. Romulus published by Tetsu Iwata, Mustafa Khairallah, Kazuhiko Minematsu, Thomas Peyrin

  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 SKINNY-128-384+ or Romulus are known. Romulus-H is slower than permutation-based hashes because each block needs two cipher calls, and it was not selected as the NIST standard.

Typical uses

Lightweight hashing when a SKINNY core is already presentResearch on block-cipher-based hashing

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", "romulus-hash", 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 Romulus-Hash?

Romulus-Hash is a hash in the Romulus family. Romulus is a family of lightweight AEAD and hash algorithms based on the SKINNY-128-384+ tweakable block cipher.

What are the Romulus-Hash sizes?

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

Who designed Romulus-Hash and when?

Romulus-Hash belongs to the Romulus family, first published in 2019 by Tetsu Iwata, Mustafa Khairallah, Kazuhiko Minematsu, Thomas Peyrin. Its origin: NIST Lightweight Cryptography process finalist.

Which standards define Romulus-Hash?

Romulus-Hash is referenced by Romulus-H v1.3 (NIST LWC finalist).

Is Romulus-Hash safe to use?

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