Forked from anonymous/gist:1c98d915f088dcdf58d566bafa424905
Last active
May 31, 2016 06:43
-
-
Save domgetter/984365bcb8d5ab15034bc04189aad558 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if choice == "Encrypt" | |
File.open('Ruby_Plaintext.txt', 'r') do |text| | |
read_in = text.read.split(" ") | |
read_in.each do |word| | |
cyphertext = encrypt(word, key) | |
print cyphertext + " " | |
end | |
end | |
passed = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment