Enhanced word-oriented stream cipher with 16-stage LFSR over GF(2^31-1). Successor to ZUC-128 for next-generation 5G/6G mobile communications with 256-bit keys and 200-bit IVs.
| Property | Value |
|---|---|
| Category | Stream Ciphers |
| Sub-category | 3GPP Stream Cipher |
| Security status | 🎓 Educational Only |
| Complexity | Expert |
| Inventor | DACAS (Data Assurance and Communication Security Research Center) |
| Year | 2018 |
| Origin | 🇨🇳 China |
| Source | algorithms/stream/zuc256.js |
| Parameter | Supported values |
|---|---|
| Key sizes | 32 bytes (256 bits) |
| Nonce sizes | 25 bytes (200 bits) |
Status: 🎓 Educational Only
No vulnerabilities are recorded for this implementation.
2 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.
Vector 1 — ZUC-256 Test Vector 1 - All zeros
| Field | Value |
|---|---|
key |
0000000000000000000000000000000000000000000000000000000000000000 |
iv |
00000000000000000000000000000000000000000000000000 |
input |
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
expected |
58d03ad62e032ce2dafc683a39bdcb03 52a2bc67f1b7de74163ce3a101ef5558 9639d75b95fa681b7f090df756391ccc 903b7612744d544c17bc3fad8b163b08 |
Vector 2 — ZUC-256 Test Vector 2 - All ones pattern
| Field | Value |
|---|---|
key |
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff |
iv |
ffffffffffffffffffffffffffffffffff3f3f3f3f3f3f3f3f |
input |
00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 |
expected |
3356cbaed1a1c18b6baa4ffe343f777c 9e15128f251ab65b949f7b26ef7157f2 96dd2fa9df95e3ee7a5be02ec32ba585 505af316c2f9ded27cdbd935e441ce11 |