Vowels encoder / decoder
vowels-coder
encodes and decodes a given string in English by replacing vowels according to the next map:
Letter | Number |
---|---|
a | 1 |
e | 2 |
i | 3 |
o | 4 |
u | 5 |
- Clone the repository
- In the main directory run
go run build
to build the project
- To encode a string, run
./vowels-coder
, enter the text that must be encoded. - To decode a string, run
./vowels-coder -d
, enter the text that must be decoded.