From d253e8df598a2343402642151b456b1b20d358d8 Mon Sep 17 00:00:00 2001 From: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com> Date: Wed, 23 Oct 2024 00:01:04 +0300 Subject: [PATCH 1/2] atbash-cipher: Correct capitalization of 'atbash' to 'Atbash' in instructions --- exercises/atbash-cipher/description.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/atbash-cipher/description.md b/exercises/atbash-cipher/description.md index 223932f057..ba699e350e 100644 --- a/exercises/atbash-cipher/description.md +++ b/exercises/atbash-cipher/description.md @@ -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. From 510c20cdc50a73808d802f0de44d07d99aa929e5 Mon Sep 17 00:00:00 2001 From: Anastasios Chatzialexiou <16361161+tasxatzial@users.noreply.github.com> Date: Wed, 23 Oct 2024 09:47:13 +0300 Subject: [PATCH 2/2] correct capitalization across all exercises --- exercises/affine-cipher/description.md | 2 +- exercises/atbash-cipher/canonical-data.json | 8 ++++---- exercises/atbash-cipher/metadata.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/exercises/affine-cipher/description.md b/exercises/affine-cipher/description.md index d13c235aa4..8006b747d1 100644 --- a/exercises/affine-cipher/description.md +++ b/exercises/affine-cipher/description.md @@ -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 " diff --git a/exercises/atbash-cipher/canonical-data.json b/exercises/atbash-cipher/canonical-data.json index aa4687ba40..984ea2d6be 100644 --- a/exercises/atbash-cipher/canonical-data.json +++ b/exercises/atbash-cipher/canonical-data.json @@ -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", @@ -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", diff --git a/exercises/atbash-cipher/metadata.toml b/exercises/atbash-cipher/metadata.toml index 191181cbd8..aa20988921 100644 --- a/exercises/atbash-cipher/metadata.toml +++ b/exercises/atbash-cipher/metadata.toml @@ -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"