Block cipher family

SHARK

A 1996 substitution-permutation block cipher by Rijmen, Daemen and colleagues, carried at six rounds

unverified 1 variant Proposed in 1996

Overview

SHARK is a substitution-permutation block cipher proposed in 1996 by Rijmen, Daemen, Preneel, Bosselaers and De Win. It uses 64-bit blocks and a 128-bit key, and NextSSL carries a six-round version from Crypto++. It is an early design in the line that led to Square and Rijndael.

SHARK was proposed in 1996 by Vincent Rijmen, Joan Daemen, Bart Preneel, Antoon Bosselaers and Erik De Win. It is a substitution-permutation network in which each round combines a keyed step with an S-box layer and a linear diffusion layer. The design influenced Square and later Rijndael.

NextSSL carries shark with a 16-byte key and an 8-byte block, following a Crypto++ implementation that uses six rounds. The round count is a reduced version of the design, so the entry is not the full-round cipher the authors proposed in their own setting.

The 64-bit block sets a birthday bound of about 2 to the power of 32 blocks per key. The unverified tier reflects the archive's review status and does not describe the design as broken.

History

1996–1996
  1. SHARK published by Vincent Rijmen, Joan Daemen, Bart Preneel, Antoon Bosselaers, Erik De Win

How it works

  1. A 128-bit key is expanded into round keys for the six rounds.
  2. Each round XORs a round key, applies an S-box layer and a linear diffusion layer across the block.
  3. Decryption applies the inverse layers in reverse order with the same keys.

Security notes

Unverified in NextSSL, and this entry is a six-round version. The 64-bit block limits safe data per key, so use a modern cipher for new designs.

Typical uses

Research on substitution-permutation network designComparison with Square and RijndaelCrypto++ compatibility testing

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
Shark
shark
unverified key 16 · block 8 SHARK (Rijmen et al., 1996), Crypto++ implementation, 6… root

Frequently asked questions

What is SHARK?

SHARK is a 1996 substitution-permutation block cipher with 64-bit blocks, carried by NextSSL as a six-round unverified implementation.

Is SHARK secure and post-quantum?

It is not recommended for new designs because it is unverified here and has a 64-bit block. Grover's algorithm would reduce its key strength, so a larger key is preferable in any post-quantum setting.

What key and block sizes does SHARK use?

It uses a 16-byte key and an 8-byte block.

Which SHARK variants does NextSSL include?

NextSSL registers 1 SHARK variant: shark.