Stream ciphers

Seal

A 1990s software-oriented stream cipher by Rogaway and Coppersmith with a 160-bit key

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 Seal

Seal is a stream cipher from the SEAL 3.0 family. It uses a 20-byte (160-bit) key and a 4-byte nonce. 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

SEAL is a stream cipher designed by Phillip Rogaway and Don Coppersmith in the 1990s for fast software encryption. NextSSL carries the SEAL 3.0 parameters, with a 20-byte key and a 4-byte nonce. The entry is unverified and kept for research.

SEAL was designed by Phillip Rogaway and Don Coppersmith as a stream cipher for fast software encryption on 32-bit processors. It generates its keystream from large precomputed tables that are derived from the key, which is an unusual structure compared with register-based stream ciphers.

NextSSL carries the seal variant with a 20-byte key and a 4-byte nonce, which corresponds to the 160-bit key of SEAL 3.0. The archive records no standard for the cipher and no published analysis beyond its design history. The unverified tier reflects this.

Because the keystream depends on large tables and a 4-byte nonce, the cipher is not a fit for new designs, and the entry is kept for research into table-based stream ciphers.

History

1993–1993
  1. SEAL 3.0 published by Phillip Rogaway, Don Coppersmith

How it works

  1. The key and nonce are used to generate large tables that serve as the cipher's internal state.
  2. Each step of the keystream generator reads from the tables and updates the state.
  3. The keystream is XORed with the plaintext, and the receiver regenerates it from the same key and nonce.

Security notes

Unverified in NextSSL. The 4-byte nonce limits the number of messages per key, and the design predates modern stream-cipher analysis, so do not use it for new systems.

Typical uses

Historical study of table-based stream ciphersResearch into software-oriented stream cipher designCompatibility with legacy SEAL implementations

Sizes

FieldBytesMeaning
key20Secret key
nonce4Nonce / IV

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
ct = root.call("stream_apply", "seal", None, key, nonce, b"secret")[0]   # same call decrypts

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

Similar names

Looking for something else?

Frequently asked questions

What is Seal?

Seal is a stream cipher in the SEAL 3.0 family. SEAL is a stream cipher designed by Phillip Rogaway and Don Coppersmith in the 1990s for fast software encryption.

What are the Seal sizes?

In NextSSL, Seal uses: key 20 bytes, nonce 4 bytes.

Who designed Seal and when?

Seal belongs to the SEAL 3.0 family, first published in 1993 by Phillip Rogaway, Don Coppersmith.

Is Seal safe to use?

Seal 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).