Skip to content

Simple Rust implementation of upper-case ASCII based Vigenere cipher

License

Notifications You must be signed in to change notification settings

mister-spock/vigenere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple implementation of Vigenere cipher in Rust

Works only with capital ASCII letters

Build and run with vigenere --help to get help. Can work with files or standard stream or a mix of both. Errors are output to STDERR.

Usage:

  • To work with files: vigenere -d -i ciphertext.txt -o plaintext.txt --key <keyword>
  • To work with streams: cat plaintext.txt | vigenere --key <keyword>. Otputs to STDOUT.
  • To work with mixed IO: cat ciphertext.txt | vigenere --decipher --key <keywords> -o ./plaintext.txt or vigenere -i plaintext.txt --key <keyword> (outputs to STDOUT) or cat ./plaintext.txt | vigenere --key <keyword> > ./ciphertext.txt

Will prioritize files if --input and/or --output parameters are given.

About

Simple Rust implementation of upper-case ASCII based Vigenere cipher

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages