Симметричные алгоритмы шифрования, страница 3

1-й шаг:N1 ÅK0 mod 232       Таблица сложения исходного текста с ключами К0 – К7 по модулю 232

32

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

N1

0

1

1

1

0

0

0

0

0

1

1

0

1

1

1

1

0

1

1

0

1

1

0

0

0

1

1

0

1

0

0

1

К0

0

1

0

1

1

0

0

0

0

0

0

1

0

0

1

1

1

0

1

1

0

0

1

0

0

1

1

1

0

1

0

0

К1

1

1

1

0

0

1

1

1

0

1

0

0

0

0

0

1

0

1

1

0

1

0

0

0

1

1

0

1

1

0

1

0

К2

1

0

0

1

0

0

1

1

0

0

0

1

1

0

0

0

1

1

0

0

1

0

1

1

0

1

0

1

0

0

1

0

К3

0

1

0

0

0

1

1

1

1

0

1

1

0

1

0

1

1

0

0

1

1

1

0

0

1

0

1

0

1

0

0

1

К4

0

1

1

0

0

0

1

0

0

1

1

1

1

0

0

1

1

1

1

0

1

1

0

0

1

0

0

0

0

0

0

1

К5

0

1

1

1

0

0

1

1

1

0

0

1

0

0

0

1

1

1

1

1

1

1

0

0

0

1

0

0

0

1

1

0

К6

1

0

0

0

0

1

1

0

0

0

1

0

0

1

1

1

1

1

0

0

1

1

1

1

1

0

1

0

1

0

0

1

К7

1

0

1

1

0

0

1

0

0

1

1

0

1

0

0

0

1

1

1

0

0

0

0

1

1

1

1

1

0

1

1

1

К0

0

1

0

1

1

0

0

0

0

0

0

1

0

0

1

1

1

0

1

1

0

0

1

0

0

1

1

1

0

1

0

0

К1

1

1

1

0

0

1

1

1

0

1

0

0

0

0

0

1

0

1

1

0

1

0

0

0

1

1

0

1

1

0

1

0

К2

1

0

0

1

0

0

1

1

0

0

0

1

1

0

0

0

1

1

0

0

1

0

1

1

0

1

0

1

0

0

1

0

К3

0

1

0

0

0

1

1

1

1

0

1

1

0

1

0

1

1

0

0

1

1

1

0

0

1

0

1

0

1

0

0

1

К4

0

1

1

0

0

0

1

0

0

1

1

1

1

0

0

1

1

1

1

0

1

1

0

0

1

0

0

0

0

0

0

1

К5

0

1

1

1

0

0

1

1

1

0

0

1

0

0

0

1

1

1

1

1

1

1

0

0

0

1

0

0

0

1

1

0

К6

1

0

0

0

0

1

1

0

0

0

1

0

0

1

1

1

1

1

0

0

1

1

1

1

1

0

1

0

1

0

0

1

К7

1

0

1

1

0

0

1

0

0

1

1

0

1

0

0

0

1

1

1

0

0

0

0

1

1

1

1

1

0

1

1

1

К0

0

1

0

1

1

0

0

0

0

0

0

1

0

0

1

1

1

0

1

1

0

0

1

0

0

1

1

1

0

1

0

0

К1

1

1

1

0

0

1

1

1

0

1

0

0

0

0

0

1

0

1

1

0

1

0

0

0

1

1

0

1

1

0

1

0

К2

1

0

0

1

0

0

1

1

0

0

0

1

1

0

0

0

1

1

0

0

1

0

1

1

0

1

0

1

0

0

1

0

К3

0

1

0

0

0

1

1

1

1

0

1

1

0

1

0

1

1

0

0

1

1

1

0

0

1

0

1

0

1

0

0

1

К4

0

1

1

0

0

0

1

0

0

1

1

1

1

0

0

1

1

1

1

0

1

1

0

0

1

0

0

0

0

0

0

1

К5

0

1

1

1

0

0

1

1

1

0

0

1

0

0

0

1

1

1

1

1

1

1

0

0

0

1

0

0

0

1

1

0

К6

1

0

0

0

0

1

1

0

0

0

1

0

0

1

1

1

1

1

0

0

1

1

1

1

1

0

1

0

1

0

0

1

К7

1

0

1

1

0

0

1

0

0

1

1

0

1

0

0

0

1

1

1

0

0

0

0

1

1

1

1

1

0

1

1

1

К7

1

0

1

1

0

0

1

0

0

1

1

0

1

0

0

0

1

1

1

0

0

0

0

1

1

1

1

1

0

1

1

1

К6

1

0

0

0

0

1

1

0

0

0

1

0

0

1

1

1

1

1

0

0

1

1

1

1

1

0

1

0

1

0

0

1

К5

0

1

1

1

0

0

1

1

1

0

0

1

0

0

0

1

1

1

1

1

1

1

0

0

0

1

0

0

0

1

1

0

К4

0

1

1

0

0

0

1

0

0

1

1

1

1

0

0

1

1

1

1

0

1

1

0

0

1

0

0

0

0

0

0

1

К3

0

1

0

0

0

1

1

1

1

0

1

1

0

1

0

1

1

0

0

1

1

1

0

0

1

0

1

0

1

0

0

1

К2

1

0

0

1

0

0

1

1

0

0

0

1

1

0

0

0

1

1

0

0

1

0

1

1

0

1

0

1

0

0

1

0

К1

1

1

1

0

0

1

1

1

0

1

0

0

0

0

0

1

0

1

1

0

1

0

0

0

1

1

0

1

1

0

1

0

К0

0

1

0

1

1

0

0

0

0

0

0

1

0

0

1

1

1

0

1

1

0

0

1

0

0

1

1

1

0

1

0

0

 å

0

1

1

1

0

0

0

0

0

1

1

0

1

1

1

1

0

1

1

0

1

1

0

0

0

1

1

0

1

0

0

1