Skip to content
/ vigenere Public

Encrypt/Decrypt string with key using Vigenère cipher

License

Notifications You must be signed in to change notification settings

42tm/vigenere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vigenere

Encrypt/Decrypt string with key using Vigenère cipher

Usage

Using vigenere is really simple. Below is how program read parameters:

vigenere <command> [input] [key]

Encrypt

To encrypt use command e:

vigenere e "Hello" "Key"

The output should be:

Rijvs

Decrypt

To decrypt use command d:

vigenere d "Diqd" "Key"

The output should be:

Test