File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,13 @@ would get the same thing as the Caesar Cipher.
56
56
57
57
The weakest link in any cipher is the human being. Let's make your
58
58
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.
61
60
62
61
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.
65
63
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 .
68
66
69
67
## Extensions
70
68
You can’t perform that action at this time.
0 commit comments