We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hill_cipher.md
1 parent c111d47 commit 12f8a74Copy full SHA for 12f8a74
en/Ciphers/hill_cipher.md
@@ -17,7 +17,7 @@ key:`GYBNQKURP`
17
1. We have to write key as an `n ×ばつ n` matrix as
18
19
```
20
- [6 24 1]
+ [6 24 1]
21
[13 16 10]
22
[20 17 15]
23
@@ -31,7 +31,7 @@ key:`GYBNQKURP`
31
3. Now, we need to encipher the vector by just multiplying these two matrices
32
33
34
- [6 24 1] [0] [67] [15]
+ [6 24 1] [0] [67] [15]
35
[13 16 10] * [2] = [222] ≈ [4] (mod 26)
36
[20 17 15] [19] [319] [7]
37
@@ -42,14 +42,14 @@ So we will get the encrypted text as **POH**.
42
1. We need to first inverse our key matrix
43
44
-1
45
- [6 24 1] [8 5 10]
+ [6 24 1] [8 5 10]
46
[13 16 10] ≈ [21 8 21] (mod 26)
47
[20 17 15] [21 12 8]
48
49
2. For the previous Cipher Text **POH**
50
51
52
- [8 5 10] [15] [260] [0]
+ [8 5 10] [15] [260] [0]
53
[21 8 21] * [14] ≈ [574] ≈ [2] (mod 26) ≈ ACT
54
[21 12 8] [7] [539] [19]
55
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments