SHARK
A 1996 substitution-permutation block cipher by Rijmen, Daemen and colleagues, carried at six rounds
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–1996SHARK published by Vincent Rijmen, Joan Daemen, Bart Preneel, Antoon Bosselaers, Erik De Win
How it works
- A 128-bit key is expanded into round keys for the six rounds.
- Each round XORs a round key, applies an S-box layer and a linear diffusion layer across the block.
- 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
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| 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.
Families with similar names
Other block ciphers
All 84Related
A 1993 Daemen block cipher with a 96-bit block and 96-bit key, kept for historical comparison
AESThe Advanced Encryption Standard: the world's default 128-bit block cipher
IDEAThe International Data Encryption Algorithm: a Lai–Massey cipher mixing three groups
SerpentThe conservative AES finalist with 32 rounds of bit-sliced 4-bit S-boxes
SquareDaemen, Knudsen and Rijmen's 1997 128-bit substitution-permutation cipher, a precursor to Rijndael