Skip to content

Commit

Permalink
Correct capitalization of 'atbash' to 'Atbash' (#2485)
Browse files Browse the repository at this point in the history
* atbash-cipher: Correct capitalization of 'atbash' to 'Atbash' in instructions

* correct capitalization across all exercises
  • Loading branch information
tasxatzial authored Dec 4, 2024
1 parent 72c16a8 commit aac54c1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion exercises/affine-cipher/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Create an implementation of the affine cipher, an ancient encryption system crea

The affine cipher is a type of monoalphabetic substitution cipher.
Each character is mapped to its numeric equivalent, encrypted with a mathematical function and then converted to the letter relating to its new numeric value.
Although all monoalphabetic ciphers are weak, the affine cipher is much stronger than the atbash cipher, because it has many more keys.
Although all monoalphabetic ciphers are weak, the affine cipher is much stronger than the Atbash cipher, because it has many more keys.

[//]: # " monoalphabetic as spelled by Merriam-Webster, compare to polyalphabetic "

Expand Down
8 changes: 4 additions & 4 deletions exercises/atbash-cipher/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"exercise": "atbash-cipher",
"comments": [
"The tests are divided into two groups: ",
"* Encoding from English to atbash cipher",
"* Decoding from atbash cipher to all-lowercase-mashed-together English"
"* Encoding from English to Atbash cipher",
"* Decoding from Atbash cipher to all-lowercase-mashed-together English"
],
"cases": [
{
"description": "encode",
"comments": ["Test encoding from English to atbash"],
"comments": ["Test encoding from English to Atbash"],
"cases": [
{
"uuid": "2f47ebe1-eab9-4d6b-b3c6-627562a31c77",
Expand Down Expand Up @@ -86,7 +86,7 @@
},
{
"description": "decode",
"comments": ["Test decoding from atbash to English"],
"comments": ["Test decoding from Atbash to English"],
"cases": [
{
"uuid": "bb50e087-7fdf-48e7-9223-284fe7e69851",
Expand Down
2 changes: 1 addition & 1 deletion exercises/atbash-cipher/description.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Description

Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.
Create an implementation of the Atbash cipher, an ancient encryption system created in the Middle East.

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.
The first letter is replaced with the last letter, the second with the second-last, and so on.
Expand Down
2 changes: 1 addition & 1 deletion exercises/atbash-cipher/metadata.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title = "Atbash Cipher"
blurb = "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East."
blurb = "Create an implementation of the Atbash cipher, an ancient encryption system created in the Middle East."
source = "Wikipedia"
source_url = "https://en.wikipedia.org/wiki/Atbash"

0 comments on commit aac54c1

Please sign in to comment.