Skip to content

Instantly share code, notes, and snippets.

Created May 31, 2016 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f6a773c898afdb75e430d6af8fd4e076 to your computer and use it in GitHub Desktop.
Save anonymous/f6a773c898afdb75e430d6af8fd4e076 to your computer and use it in GitHub Desktop.
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