Hash functions

Swifftx-224-Sha3r1

SWIFFTX round 1: an unverified SHA-3 competition candidate with 224, 256, 384 and 512-bit digests

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 Swifftx-224-Sha3r1

Swifftx-224-Sha3r1 is one of 4 SWIFFTX (SHA-3 round 1) variants in the NextSSL registry, a cryptographic hash function. It produces a 28-byte (224-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

SWIFFTX is a hash function submitted to NIST's SHA-3 competition, in the round 1 version archived by NextSSL. It was not one of the finalists (BLAKE, Grøstl, JH, Keccak and Skein) and has no standard status, so NextSSL keeps it as unverified research code.

SWIFFTX was one of the many designs submitted to NIST's SHA-3 call. NextSSL archives its round 1 tweak at 224, 256, 384 and 512-bit digest sizes, and each size is its own registry entry: swifftx-224-sha3r1, swifftx-256-sha3r1, swifftx-384-sha3r1, swifftx-512-sha3r1. NIST opened the SHA-3 competition in 2007 and narrowed the field over three rounds to five finalists. The round suffix in the variant id marks which submitted tweak the archived code follows, so rounds are not interchangeable.

Round versions of these candidates were often tweaked after public analysis, so the round number identifies which tweak the archived code follows. The digests are not interoperable with SHA-2, SHA-3 or any standard hash. The archive keeps each output length as its own variant, which lets tests select a specific digest size. Because NextSSL records no independent review for this design, the entries serve research and test coverage rather than hash selection.

Keep this family for comparison, test vectors and research. Production systems should use SHA-2 or SHA-3, as NIST recommends for new designs. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices. NIST opened the SHA-3 competition in 2007 and narrowed the field over three rounds to five finalists. The round suffix in the variant id marks which submitted tweak the archived code follows, so rounds are not interchangeable.

History

2007–2015
  1. NIST announces a public competition for a new hash standard, SHA-3

    NIST SHA-3 competition
  2. SWIFFTX published

  3. 64 designs submitted; 51 accepted into round 1

    NIST SHA-3 competition
  4. 14 designs advance to round 2

    NIST SHA-3 competition
  5. Five finalists named: BLAKE, Grøstl, JH, Keccak and Skein

    NIST SHA-3 competition
  6. Keccak selected as SHA-3

    NIST SHA-3 competition
  7. SHA-3 published as FIPS 202

    NIST SHA-3 competition

How it works

  1. The message is padded to a whole number of blocks, with its length appended.
  2. Each block is absorbed into an internal state by the round function of this design.
  3. After the last block the state is finalised and truncated to the requested digest size.

Security notes

The tier is unverified, so no review is recorded and no security claim is made. Use SHA-2 or SHA-3 for real systems.

Typical uses

Historical comparison of SHA-3 candidatesResearch and test-vector experimentsNot recommended for production hashing

Sizes

FieldBytesMeaning
out28Output

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", "swifftx-224-sha3r1", None, b"abc")[0]

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

Other SWIFFTX (SHA-3 round 1) variants

3

Frequently asked questions

What is Swifftx-224-Sha3r1?

Swifftx-224-Sha3r1 is a hash in the SWIFFTX (SHA-3 round 1) family. SWIFFTX is a hash function submitted to NIST's SHA-3 competition, in the round 1 version archived by NextSSL.

What are the Swifftx-224-Sha3r1 sizes?

In NextSSL, Swifftx-224-Sha3r1 uses: output 28 bytes.

Who designed Swifftx-224-Sha3r1 and when?

Swifftx-224-Sha3r1 belongs to the SWIFFTX (SHA-3 round 1) family, first published in 2008 by Yuriy Arbitman, Gil Dogon, Vadim Lyubashevsky, Daniele Micciancio, Chris Peikert, Alon Rosen. Its origin: NIST SHA-3 competition, round 1.

Is Swifftx-224-Sha3r1 safe to use?

Swifftx-224-Sha3r1 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).

What other SWIFFTX (SHA-3 round 1) variants are there?

NextSSL also registers swifftx-256-sha3r1, swifftx-384-sha3r1, swifftx-512-sha3r1 in the SWIFFTX (SHA-3 round 1) family.