update README

This commit is contained in:
a-Sansara 2017-10-20 03:46:19 +02:00
parent 14cf82f624
commit 2b7c112e09

View File

@ -40,6 +40,59 @@ Project is all fresh
0f || 7e | b5 | 40 | d0 | 1b | cb | 0b | 55 | 6d | 92 | 74 | f3 | dd | 23 | e4 | 77 |
```
s-box are generated with input generator and several transformation
#### LEFT ROTATION
```
1 1 0 1 1 0 0 1 => 1 1 1 0 1 1 0 0 => ...
```
#### INVERSE LEFT ROTATION
```
1 1 0 1 1 0 0 1
1 0 0 1 1 0 1 1 => 0 0 1 1 0 1 1 1 => ...
```
#### REVERSE LEFT ROTATION
```
1 1 0 1 1 0 0 1
0 0 1 0 0 1 1 0 => 0 0 0 1 0 0 1 1 => ...
```
#### REVERSE INVERSE LEFT ROTATION
```
1 1 0 1 1 0 0 1
0 0 1 0 0 1 1 0
0 1 1 0 0 1 0 0 => 1 1 0 0 1 0 0 0 => ...
```
```
0 1 2 3 4 5 6 7 8 9 A B C D E F
0 [1 1 0 1 1 0 0 1] [0 0 0 1 0 0 1 1]
1 [1 1 1 0 1 1 0 0] [1 0 0 0 1 0 0 1]
2 [0 1 1 1 0 1 1 0] [1 1 0 0 0 1 0 0]
3 [0 0 1 1 1 0 1 1] [0 1 1 0 0 0 1 0]
4 [1 0 0 1 1 1 0 1] [0 0 1 1 0 0 0 1]
5 [1 1 0 0 1 1 1 0] [1 0 0 1 1 0 0 0]
6 [0 1 1 0 0 1 1 1] [0 1 0 0 1 1 0 0]
7 [1 0 1 1 0 0 1 1] [0 0 1 0 0 1 1 0]
LEFT ROTATION REVERSE LEFT ROT
INVERSE LEFT ROT REV INV LEFT ROT
8 [1 0 0 1 1 0 1 1] [1 1 0 0 1 0 0 0]
9 [0 0 1 1 0 1 1 1] [1 0 0 1 0 0 0 1]
A [0 1 1 0 1 1 1 0] [0 0 1 0 0 0 1 1]
B [1 1 0 1 1 1 0 0] [0 1 0 0 0 1 1 0]
C [1 0 1 1 1 0 0 1] [1 0 0 0 1 1 0 0]
D [0 1 1 1 0 0 1 1] [0 0 0 1 1 0 0 1]
E [1 1 1 0 0 1 1 0] [0 0 1 1 0 0 1 0]
F [1 1 0 0 1 1 0 1] [0 1 1 0 0 1 0 0]
```
### legend