You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cracking/02.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,9 +95,9 @@
95
95
96
96
*图 1-2:用 8 的凯撒密钥加密信息*
97
97
98
-
对于消息中的每个字母,在外圈找到它,并用内圈的相应字母替换它。在这个例子中,消息中的第一个字母是 T(“THE SECRET…”中的第一个 T ),所以在外圆中找到字母 T,然后在内圆中找到相应的字母,也就是字母 b。因此,秘密消息总是用 b 替换 T。(如果您使用不同的加密密钥,明文中的每个 T 将被替换为不同的字母。)消息中的下一个字母是 H,变成 p,字母 E 变成 m,外轮上的每个字母总是加密到内轮上的同一个字母。为了节省时间,在您查找“THE SECRET…”中的第一个 T 并看到它加密到 B 后,您可以将消息中的每个 T 替换为 B,因此您只需要查找一个字母一次。
98
+
对于消息中的每个字母,在外圈找到它,并用内圈的相应字母替换它。在这个例子中,消息中的第一个字母是 T(“THE SECRET…”中的第一个 T),所以在外圆中找到字母 T,然后在内圆中找到相应的字母,也就是字母 b。因此,秘密消息总是用 b 替换 T。(如果您使用不同的加密密钥,明文中的每个 T 将被替换为不同的字母。)消息中的下一个字母是 H,变成 p,字母 E 变成 m,外轮上的每个字母总是加密到内轮上的同一个字母。为了节省时间,在您查找“THE SECRET…”中的第一个 T 并看到它加密到 B 后,您可以将消息中的每个 T 替换为 B,因此您只需要查找一个字母一次。
Copy file name to clipboardExpand all lines: docs/cracking/05.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ print(translated)
58
58
.daed era meht fo owt fi ,terces a peek nac eerhT
59
59
```
60
60
61
-
要解密此消息,通过高亮显示消息并按下 Windows 和 Linux 上的`ctrl` -C 或 macOS 上的Cmd -C,将`.daed era meht fo owt fi ,terces a peek nac eerhT`文本复制到剪贴板。然后将其粘贴(在 Windows 和 Linux 上使用`ctrl` -V 或者在 macOS 上使用Cmd -V)为第 4 行`message`中存储的字符串值。确保在字符串的开头和结尾保留单引号。新的第 4 行看起来像这样(用粗体表示的变化):
61
+
要解密此消息,通过高亮显示消息并按下 Windows 和 Linux 上的`ctrl` -C 或 macOS 上的Cmd -C,将`.daed era meht fo owt fi ,terces a peek nac eerhT`文本复制到剪贴板。然后将其粘贴(在 Windows 和 Linux 上使用`ctrl` -V 或者在 macOS 上使用`Cmd+V`为第 4 行`message`中存储的字符串值。确保在字符串的开头和结尾保留单引号。新的第 4 行看起来像这样(用粗体表示的变化):
62
62
63
63
```py
64
64
message ='.daed era meht fo owt fi ,terces a peek nac eerhT'
0 commit comments