Hash family

PHOTON-Beetle

A NIST LWC finalist hash and AEAD built on the PHOTON-256 permutation

research 1 variant NIST Lightweight Cryptography process finalist

Overview

PHOTON-Beetle is a family of lightweight authenticated encryption and hashing algorithms that was one of the ten NIST Lightweight Cryptography finalists. It combines the PHOTON permutation, published in 2011, with the Beetle mode of operation.

The PHOTON-256 permutation operates on an 8x8 matrix of 4-bit cells with twelve AES-like rounds: constant addition, a 4-bit S-box, row shifting and serial MDS column mixing. Its small cells and serialisable mixing make it compact in hardware. The hash, PHOTON-Beetle-Hash, absorbs an initial 128-bit block and subsequent 32-bit blocks into the 256-bit state, producing a 256-bit digest.

NextSSL includes PHOTON-Beetle-Hash from the finalist package and a photonbeetlehash256rate32 entry wired from a benchmarking source, which encodes the 256-bit output and 32-bit rate in its name. The Beetle mode adds a combined feedback function for AEAD, but the hash uses a plain sponge. PHOTON-256 is also the permutation inside some other first-round lightweight candidates.

History

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

    NIST Lightweight Cryptography project
  2. PHOTON-Beetle published

  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 PHOTON-256 or PHOTON-Beetle are known. Its 32-bit rate makes hashing slow in software, and it was not selected as the NIST standard.

Typical uses

Compact hardware hashingLightweight cryptography research

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
PHOTON-Beetle-Hash
photon-beetle-hash
research out 32 PHOTON-Beetle (NIST LWC finalist) root

Frequently asked questions

Which PHOTON-Beetle variants does NextSSL include?

NextSSL registers 1 PHOTON-Beetle variant: photon-beetle-hash.