SEED
Korea's 1998 128-bit Feistel cipher, widely deployed in Korean banking and e-commerce
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 SEED
SEED is a block cipher. It uses a 16-byte (128-bit) key and a 16-byte (128-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
SEED is a 128-bit block cipher with a 128-bit key developed by the Korea Information Security Agency in 1998. It was long mandated in Korean online banking and is specified in RFC 4269.
SEED is a 16-round Feistel network. Its F-function operates on 64 bits and is built from a G function that applies two 8-bit S-boxes and masking, combined with modular additions in a three-layer structure. The key schedule uses rotations, additions and the same G function. Its interface matches AES. It is royalty-free.
SEED cipher suites are defined for TLS (RFC 4162). NextSSL includes a SEED entry wired from source and not yet verified. SEED's adoption was driven by Korean regulation that required its use in online banking browser plug-ins for many years. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
1998–1998SEED published by Korea Information Security Agency (KISA)
Security notes
No practical attacks on full SEED are known. It is being superseded by ARIA and LEA in Korean standards. NextSSL's implementation is unverified.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| block | 16 | Block |
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", "seed", None, key, plaintext_block)[0]
nextssl_root_blockcipher_encrypt("seed", NULL, key, block, out); /* exactly one block */
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_blockcipher_in(reg::all(), Policy::Any, "seed", &Params::new())?;
let out = alg.encrypt_block(&key, &block)?;
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 block ciphers
All 84Frequently asked questions
What is SEED?
SEED is a block cipher in the SEED family. SEED is a 128-bit block cipher with a 128-bit key developed by the Korea Information Security Agency in 1998.
What are the SEED sizes?
In NextSSL, SEED uses: key 16 bytes, block 16 bytes.
Who designed SEED and when?
SEED belongs to the SEED family, first published in 1998 by Korea Information Security Agency (KISA). Its origin: RFC 4269.
Is SEED safe to use?
SEED 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).