A Ruby program that encrypts, decrypts, and cracks text files based on a Caesar Cipher key. Cracking allows for optional date inputs that defaults to todays date and returns the key used to decrypt the message. Decrypting requires a key and Encrypting creates one.
- Ruby
- Clone Repo
- Minitest
rake
- add txt file to be encrypted
ruby lib/encrypt.rb your_message_file.txt your_encryption_file.txt
- to decrypt or crack
ruby lib/decrypt.rb
ruby lib/crack.rb