Aller au contenu
uencoder

Twofish Bloc Chiffre Specification

Twofish est un 128-bit Feistel-network bloc chiffre avec clé-dependent S-boxes, un AES competition finalist.

Algorithm Structure

Twofish operates on 128-bit blocks using a 16-round Feistel network with four key-dependent S-boxes. The key schedule generates 40 expanded key words plus four S-box entries derived from the key. The design combines elements from Square, SAFER+, and Blowfish. It was a finalist in the NIST AES competition but was not selected.

block size
128 bits fixed
16 bytes
key sizes
128, 192, or 256 bits
32 bytes max
rounds
16 rounds always
Feistel structure

Performance and Security

Twofish is optimized for 32-bit platforms and achieves competitive throughput on modern CPUs. The key-dependent S-boxes make it resistant to many forms of cryptanalysis. No practical attacks faster than brute force are known on the full cipher. It remains a well-studied and trusted alternative to AES.

throughput
Competitive on 32-bit
~28 cycles/byte
memory
Key setup needs ~4KB
S-box tables
attacks
No practical break
Full 16 rounds

Outils associés

参考链接