Block ciphers

ICE

Matthew Kwan's DES-like cipher with key-dependent bit permutations

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 ICE

ICE is a block cipher. It uses an 8-byte (64-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

ICE (Information Concealment Engine) is a 64-bit block cipher published by Matthew Kwan in 1997. It resembles DES but adds a key-dependent permutation to frustrate differential and linear cryptanalysis.

ICE is a Feistel network whose round function expands the right half, applies a keyed permutation that swaps bits selected by part of the round key, XORs further key material, and passes the result through S-boxes. Standard ICE uses 16 rounds and a 64-bit key; Thin-ICE uses 8 rounds and the same key; ICE-n uses 16n rounds with a 64n-bit key, so ICE-2 has 32 rounds and a 128-bit key.

NextSSL includes ICE, ICE-2 and Thin-ICE entries wired from source and not yet verified. ICE was designed as a hobbyist-accessible improvement on DES rather than through a formal evaluation process, and it saw little use outside a few games and applications. Its keyed permutation idea is the main reason it is still discussed. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.

History

1997–1997
  1. ICE published by Matthew Kwan

Security notes

Differential attacks on Thin-ICE are practical, and attacks on reduced-round ICE have been published. ICE has received little analysis and should be regarded as a research cipher only.

Typical uses

Cryptanalysis teachingHistorical research

Sizes

FieldBytesMeaning
key8Secret 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", "ice", None, key, plaintext_block)[0]

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

Other ICE variants

2

Frequently asked questions

What is ICE?

ICE is a block cipher in the ICE family. ICE (Information Concealment Engine) is a 64-bit block cipher published by Matthew Kwan in 1997.

What are the ICE sizes?

In NextSSL, ICE uses: key 8 bytes, block 8 bytes.

Who designed ICE and when?

ICE belongs to the ICE family, first published in 1997 by Matthew Kwan.

Is ICE safe to use?

ICE 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 ICE variants are there?

NextSSL also registers ice-2, thin-ice in the ICE family.