Encrypt/Decrypt string with key using Vigenère cipher
Using vigenere is really simple. Below is how program read parameters:
vigenere <command> [input] [key]
To encrypt use command e
:
vigenere e "Hello" "Key"
The output should be:
Rijvs
To decrypt use command d
:
vigenere d "Diqd" "Key"
The output should be:
Test