3-Way
A 1993 Daemen block cipher with a 96-bit block and 96-bit key, kept for historical comparison
Overview
3-Way is a block cipher designed by Joan Daemen in 1993, with a 96-bit block and a 96-bit key. It is a substitution-permutation design and an early example of the wide-block, short-key style that influenced later Daemen ciphers. NextSSL carries it as an unverified implementation from Crypto++.
3-Way was proposed by Joan Daemen in 1993. It operates on 96-bit blocks with a 96-bit key and is built from alternating linear and nonlinear layers, a substitution-permutation approach that Daemen developed further in later designs such as Square and Shark. The archive lists 3-Way in the same group as those ciphers.
NextSSL carries the single variant 3way with a 12-byte key and a 12-byte block, following the Crypto++ implementation. The archive records the 1993 origin and the reference to the cipher, but no standard body has adopted it.
Because the entry is unverified, it is useful for research on early wide-block designs and for comparing structures across Daemen's work, not for protecting data.
History
1993–19933-Way published by Joan Daemen
How it works
- The 96-bit key is expanded into round keys for the cipher's fixed round count.
- Each round applies a nonlinear substitution layer followed by linear diffusion across the 96-bit block.
- Encryption and decryption use the same structure with inverted layers, so one implementation can serve both directions.
Security notes
Unverified in NextSSL, and the cipher has a 96-bit block and key that fall short of modern guidance. Use AES for any real protection.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| 3way 3way |
unverified | key 12 · block 12 | 3-Way (Daemen, 1993), Crypto++ implementation | root |
Frequently asked questions
What is 3-Way?
3-Way is a substitution-permutation block cipher proposed by Joan Daemen in 1993, with a 96-bit block and key. NextSSL carries it as an unverified research implementation.
Is 3-Way secure and post-quantum?
It is not recommended for protecting data, because its block and key sizes are small by modern standards and the archive records it as unverified. Grover's algorithm would further reduce its key strength.
What key and block sizes does 3-Way use?
It uses a 12-byte key and a 12-byte block.
Which 3-Way variants does NextSSL include?
NextSSL registers 1 3-Way variant: 3way.
Other block ciphers
All 84Related
The Advanced Encryption Standard: the world's default 128-bit block cipher
SerpentThe conservative AES finalist with 32 rounds of bit-sliced 4-bit S-boxes
SHARKA 1996 substitution-permutation block cipher by Rijmen, Daemen and colleagues, carried at six rounds
SquareDaemen, Knudsen and Rijmen's 1997 128-bit substitution-permutation cipher, a precursor to Rijndael
TwofishSchneier and colleagues' AES finalist with key-dependent S-boxes