File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ It's a program that translates a message into H's.
5
5
Because I can.
6
6
7
7
# How does it work?
8
- Use the "e" argument to encode and the "d" argument to decode.
9
- The input for encode cannot contain anything other than the 26 letters of the English alphabet.
8
+ Use the "e" flag to encode and the "d" flag to decode.
9
+ The input for encode cannot contain anything other than the 26 letters of the English alphabet or the characters ` ! '.,? ` .
10
10
```
11
- ./h e "MESSAGE"
12
- ./h d "HhHHhHhHhhHHhhHHHhhHHhhhhHHHhhHhHhh"
11
+ ./h - e "MESSAGE"
12
+ ./h - d "HhHHhHhHhhHHhhHHHhhHHhhhhHHHhhHhHhh"
13
13
```
14
14
15
15
# The method behind the madness
16
- This program uppercases the input, then for each letter in the input, it subtracts 64 from the character and then translates it into binary 'H'.
17
- An uppercase 'H' stands for a 1, while a lowercase 'h' is a 0.
16
+ This program uppercases the input, then for each letter in the input, it subtracts 65 from the character and then translates it into binary 'H'.
17
+ An uppercase 'H' stands for a 1, while a lowercase 'h' is a 0.
You can’t perform that action at this time.
0 commit comments