| The ANUBIS Block Cipher |
| RIJNDAEL | ANUBIS | |
|---|---|---|
| Block size (bits) | 128, 192, or 256 | always 128 |
| Key size (bits) | 128, 192, or 256 | 128, 160, 192, 224, 256, 288, or 320 |
| Number of rounds | 10, 12, or 14 | 12, 13, 14, 15, 16, 17, or 18 |
| Key schedule | dedicated a priori algorithm | key evolution (variant of the round function), plus key selection (projection) |
| GF(28) reduction polynomial | x8 + x4 + x3 + x + 1 (0x11B) | x8 + x4 + x3 + x2 + 1 (0x11D) |
| Origin of the S-box | mapping u -> u-1 over GF(28), plus affine transform |
pseudo-random involution (tweak: recursive structure) |
| Origin of the round constants | polynomials xi over GF(28) | successive entries of the S-box |
| u | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| P(u) | 3 | F | E | 0 | 5 | 4 | B | C | D | A | 9 | 6 | 7 | 8 | 2 | 1 |
| u | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Q(u) | 9 | E | 5 | 6 | A | 2 | 3 | C | F | 0 | 4 | D | 7 | B | 1 | 8 |
|
| Original version | "Tweaked" version |
| Test vectors | Test vectors |
| C reference implementation | C reference implementation |
| Java reference implementation | Java reference implementation |
,
was the Egyptian god of embalming and entombment -- hence, by extension, the god of
"encryption". The name seems therefore suitable for a cipher; besides, this choice
makes ANUBIS the only cipher with an associated curse
against information privacy invaders
.