Skip to content

Commit 02b90c3

Browse files
Nathan ParsonsErikSchierboom
authored andcommitted
simple-cipher: Replace language-specific wording (#1015)
1 parent 263a1b5 commit 02b90c3

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

exercises/simple-cipher/description.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,13 @@ would get the same thing as the Caesar Cipher.
5656

5757
The weakest link in any cipher is the human being. Let's make your
5858
substitution cipher a little more fault tolerant by providing a source
59-
of randomness and ensuring that the key is not composed of numbers or
60-
capital letters.
59+
of randomness and ensuring that the key contains only lowercase letters.
6160

6261
If someone doesn't submit a key at all, generate a truly random key of
63-
at least 100 characters in length, accessible via Cipher#key (the #
64-
syntax means instance variable)
62+
at least 100 characters in length.
6563

66-
If the key submitted has capital letters or numbers, throw an
67-
ArgumentError with a message to that effect.
64+
If the key submitted is not composed only of lowercase letters, your
65+
solution should handle the error in a language-appropriate way.
6866

6967
## Extensions
7068

0 commit comments

Comments
 (0)