Created
May 31, 2016 06:28
-
-
Save anonymous/cd8ce0dfe3f2d908f7955bced537998f 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
File.open('Ruby_Plaintext.txt', 'r') do |text| | |
plaintext = test.read.split(" ") | |
print plaintext | |
end | |
#Goal: To read in each byte, delete the succeeding space, and encrypt that byte. Save that byte to another file | |
#and read in another byte until the end of Ruby_plaintext.txt is found. | |
#Ruby_Plaintext.txt contents: 01010111 01100101 01101100 01101100 00100000 01101000 01100101 01101100 01101100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment