Created
May 31, 2016 10:54
-
-
Save anonymous/f6a773c898afdb75e430d6af8fd4e076 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
key = "1000110101" | |
plaintext = "10010100" | |
start = Time.time | |
for i in 0..1023 | |
ciphertext = encrypt(plaintext, key) | |
end | |
stop = Time.time | |
print stop - start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment