Seal
A 1990s software-oriented stream cipher by Rogaway and Coppersmith with a 160-bit key
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–1993SEAL 3.0 published by Phillip Rogaway, Don Coppersmith
How it works
- The key and nonce are used to generate large tables that serve as the cipher's internal state.
- Each step of the keystream generator reads from the tables and updates the state.
- 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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 20 | Secret key |
| nonce | 4 | Nonce / 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
nextssl_root_stream_apply("seal", NULL, key, nonce, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_streamcipher_in(reg::all(), Policy::Any, "seal", &Params::new())?;
let ct = alg.apply_keystream(&key, &nonce, b"secret")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More stream ciphers
All 37Frequently 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).
Related families
ARX stream cipher with a one-time Poly1305 MAC; fast and constant-time in software
ChaChaBernstein's ARX stream cipher; ChaCha20 secures much of today's TLS, SSH and VPN traffic
RC4Rivest's 1987 byte-oriented stream cipher, once ubiquitous and now prohibited in TLS
Salsa20Bernstein's eSTREAM-portfolio ARX stream cipher and the core of scrypt and NaCl
SOBER-128A Qualcomm word-oriented stream cipher with a nonlinear filter and built-in MAC
SosemanukA software-oriented eSTREAM stream cipher combining an LFSR with Serpent S-boxes