TWINE
NEC's lightweight 64-bit block cipher built on a 16-branch generalised Feistel network
Overview
TWINE is a lightweight 64-bit block cipher with 80- or 128-bit keys, designed at NEC and published in 2011. It targets compact hardware and efficient software on small processors.
TWINE uses a Type-2 generalised Feistel structure with 16 nibble-sized branches. In each of its 36 rounds, a single 4-bit S-box is applied to eight branches after XOR with round keys and added into their neighbours, and the branches are then shuffled by a carefully chosen block permutation that improves diffusion compared with a cyclic shift.
NextSSL includes TWINE-80 and TWINE-128 entries wired from source and not yet verified. TWINE's designers chose the permutation by search to improve diffusion, so that the cipher needs fewer rounds than a standard Type-2 Feistel network with cyclic shift. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
2011–2011TWINE published by Tomoyasu Suzaki, Kazuhiko Minematsu, Sumio Morioka, Eita Kobayashi
Security notes
No practical attacks on full TWINE are known; published attacks reach reduced rounds. NextSSL's implementation is unverified.
Typical uses
Variants in NextSSL
2Frequently asked questions
Which TWINE variants does NextSSL include?
NextSSL registers 2 TWINE variants: twine-128, twine-80.