Block cipher family

SHACAL-2

A 256-bit block cipher built from the SHA-256 compression function, from the NESSIE project

unverified 1 variant NESSIE project

Overview

SHACAL-2 is a block cipher with a 256-bit block and a 128 to 512-bit key, built on the SHA-256 compression function. It was proposed by Handschuh and Naccache for the NESSIE project. NextSSL carries it as an unverified Crypto++ implementation.

SHACAL-2 was proposed by Helena Handschuh and David Naccache for the NESSIE European project. It reuses the round function of the SHA-256 hash, so a single set of components supports both hashing and encryption. Its block is 256 bits, the largest among the block ciphers in this group.

NextSSL carries shacal2 with a key from 16 to 64 bytes and a 32-byte block, following a Crypto++ implementation. The large block raises the birthday bound to about 2 to the power of 128 blocks, so volume limits are not an issue for typical use.

The unverified tier reflects the archive's review status. Reduced-round analyses have appeared in the literature, so the full cipher should be treated as research material for new designs.

History

2000–2003
  1. SHACAL-2 published by Helena Handschuh, David Naccache

  2. European NESSIE project opens its call for primitives

    NESSIE project
  3. NESSIE portfolio published

    NESSIE project

How it works

  1. The key is expanded into round constants and subkey words used by the SHA-256 round function.
  2. The 256-bit block is split into eight 32-bit words, which pass through the SHA-256 style rounds.
  3. Decryption runs the inverse round function in reverse order using the same key schedule.

Security notes

Unverified in NextSSL. Reduced-round attacks are documented in the literature, so the full construction is research material rather than a settled choice.

Typical uses

Research into hash-function-based block ciphersComparing 256-bit block ciphersNESSIE project comparison

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Shacal2
shacal2
unverified key 16–64 · block 32 SHACAL-2 (Handschuh, Naccache; NESSIE), Crypto++ implem… root

Frequently asked questions

What is SHACAL-2?

SHACAL-2 is a 256-bit block cipher built from the SHA-256 compression function, proposed for the NESSIE project and carried by NextSSL as unverified.

Is SHACAL-2 secure and post-quantum?

It is unverified in NextSSL, so AES is the safer choice for new work. Grover's algorithm targets the key rather than the block, and a 16-byte key gives about 64-bit strength against quantum key search.

What key and block sizes does SHACAL-2 use?

It uses a key from 16 to 64 bytes and a 32-byte block.

Which SHACAL-2 variants does NextSSL include?

NextSSL registers 1 SHACAL-2 variant: shacal2.