File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ key:`GYBNQKURP`
17
17
1 . We have to write key as an ` n × n ` matrix as
18
18
19
19
```
20
- [6 24 1]
20
+ [6 24 1]
21
21
[13 16 10]
22
22
[20 17 15]
23
23
```
@@ -31,7 +31,7 @@ key:`GYBNQKURP`
31
31
3 . Now, we need to encipher the vector by just multiplying these two matrices
32
32
33
33
```
34
- [6 24 1] [0] [67] [15]
34
+ [6 24 1] [0] [67] [15]
35
35
[13 16 10] * [2] = [222] ≈ [4] (mod 26)
36
36
[20 17 15] [19] [319] [7]
37
37
```
@@ -42,14 +42,14 @@ So we will get the encrypted text as **POH**.
42
42
1 . We need to first inverse our key matrix
43
43
```
44
44
-1
45
- [6 24 1] [8 5 10]
45
+ [6 24 1] [8 5 10]
46
46
[13 16 10] ≈ [21 8 21] (mod 26)
47
47
[20 17 15] [21 12 8]
48
48
```
49
49
2 . For the previous Cipher Text ** POH**
50
50
51
51
```
52
- [8 5 10] [15] [260] [0]
52
+ [8 5 10] [15] [260] [0]
53
53
[21 8 21] * [14] ≈ [574] ≈ [2] (mod 26) ≈ ACT
54
54
[21 12 8] [7] [539] [19]
55
55
```
You can’t perform that action at this time.
0 commit comments