Block ciphers

Feal

NTT's 1987 cipher, best known as the proving ground for differential and linear attacks

unverified Root API only
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Feal

Feal is a block cipher. It uses a 16-byte (128-bit) key and an 8-byte (64-bit) block. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

FEAL (Fast data Encipherment ALgorithm) is a 64-bit block cipher designed by Akihiro Shimizu and Shoji Miyaguchi of NTT in 1987 as a faster alternative to DES. It is completely broken and is now studied mainly for its role in the history of cryptanalysis.

FEAL is a Feistel network with a round function built from byte-wise additions modulo 256 and two-bit rotations, avoiding S-boxes for speed on the hardware of the time. The original FEAL-4 had four rounds; FEAL-8, FEAL-N and FEAL-NX increased rounds and key size after successive attacks. Its history is instructive.

Differential cryptanalysis was first demonstrated against FEAL, and Mitsuru Matsui's linear cryptanalysis was also developed and tested on it. NextSSL includes a FEAL entry wired from source; which round variant it implements has not been verified. FEAL is a standard teaching example. Its successive versions show how cryptanalysis drove design changes in the late 1980s and 1990s.

History

1987–1987
  1. FEAL published by Akihiro Shimizu, Shoji Miyaguchi

Security notes

FEAL is broken: FEAL-4 can be broken with a handful of chosen plaintexts, and attacks extend to many more rounds. It must never be used to protect data.

Typical uses

Teaching differential and linear cryptanalysisHistorical research

Sizes

FieldBytesMeaning
key16Secret key
block8Block

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
block = root.call("blockcipher_encrypt", "feal", None, key, plaintext_block)[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Other FEAL variants

2

Similar names

Looking for something else?

Frequently asked questions

What is Feal?

Feal is a block cipher in the FEAL family. FEAL (Fast data Encipherment ALgorithm) is a 64-bit block cipher designed by Akihiro Shimizu and Shoji Miyaguchi of NTT in 1987 as a faster alternative to DES.

What are the Feal sizes?

In NextSSL, Feal uses: key 16 bytes, block 8 bytes.

Who designed Feal and when?

Feal belongs to the FEAL family, first published in 1987 by Akihiro Shimizu, Shoji Miyaguchi.

Is Feal safe to use?

Feal is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).

What other FEAL variants are there?

NextSSL also registers feal8, fealnx in the FEAL family.