Block cipher family

LOKI

The LOKI89 and LOKI91 Feistel block ciphers, with 64-bit keys and blocks, now legacy

legacy 2 variants

Overview

LOKI is the name of two Feistel block ciphers, LOKI89 and LOKI91, with 64-bit keys and 64-bit blocks. They were proposed by Brown, Pieprzyk and Seberry in the late 1980s and early 1990s. NextSSL carries both as legacy ciphers, and both are too small for modern use.

LOKI89 and LOKI91 are Feistel block ciphers proposed by Lawrie Brown, Josef Pieprzyk and Jennifer Seberry as alternatives to DES. Both use a 64-bit block and a 64-bit key. LOKI91 was introduced after LOKI89, and it revised the S-box design in response to published cryptanalysis of the earlier cipher.

NextSSL carries loki89 and loki91, each with an 8-byte key and an 8-byte block. The tier is legacy. Both are kept for research and for comparing early Feistel designs with DES and later ciphers.

The 64-bit key and block are the main weaknesses. Key search and the birthday bound on the block size are both within reach of modern hardware, so the ciphers should not protect new data.

History

1990–1998
  1. LOKI89 published

  2. Revised as LOKI91

  3. LOKI97 submitted to the AES process

How it works

  1. The 64-bit key is expanded into subkeys for the Feistel rounds.
  2. Each round applies a keyed round function, built on S-box lookups, to one half of the block.
  3. The result is XORed into the other half, and the halves are swapped at the end of each round.

Security notes

Legacy. Both members have published cryptanalysis, and the 64-bit key and block are too small for current use.

Typical uses

Historical comparison with DESResearch into early Feistel cipher designTeaching examples of block cipher weaknesses

Variants in NextSSL

2
AlgorithmTierSizes (bytes)StandardsAPI
Loki89
loki89
legacy key 8 · block 8 — root
Loki91
loki91
legacy key 8 · block 8 — root

Frequently asked questions

What is LOKI?

LOKI is the name of two 64-bit Feistel block ciphers, LOKI89 and LOKI91, from the late 1980s and early 1990s. NextSSL carries both as legacy.

Is LOKI secure and post-quantum?

No. Both are legacy and too small for modern use, and Grover's algorithm would further reduce their already small key strength.

What key and block sizes does LOKI use?

Both LOKI89 and LOKI91 use an 8-byte key and an 8-byte block.

Which LOKI variants does NextSSL include?

NextSSL registers 2 LOKI variants: loki89, loki91.