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: exercises/practice/atbash-cipher/.docs/instructions.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,8 @@
2
2
3
3
Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.
4
4
5
-
The Atbash cipher is a simple substitution cipher that relies on
6
-
transposing all the letters in the alphabet such that the resulting
7
-
alphabet is backwards. The first letter is replaced with the last
8
-
letter, the second with the second-last, and so on.
5
+
The Atbash cipher is a simple substitution cipher that relies on transposing all the letters in the alphabet such that the resulting alphabet is backwards.
6
+
The first letter is replaced with the last letter, the second with the second-last, and so on.
9
7
10
8
An Atbash cipher for the Latin alphabet would be as follows:
It is a very weak cipher because it only has one possible key, and it is
18
-
a simple monoalphabetic substitution cipher. However, this may not have
19
-
been an issue in the cipher's time.
15
+
It is a very weak cipher because it only has one possible key, and it is a simple mono-alphabetic substitution cipher.
16
+
However, this may not have been an issue in the cipher's time.
20
17
21
-
Ciphertext is written out in groups of fixed length, the traditional group size
22
-
being 5 letters, and punctuation is excluded. This is to make it harder to guess
23
-
things based on word boundaries.
18
+
Ciphertext is written out in groups of fixed length, the traditional group size being 5 letters, leaving numbers unchanged, and punctuation is excluded.
19
+
This is to make it harder to guess things based on word boundaries.
0 commit comments