Skip to content

Instantly share code, notes, and snippets.

@ethan2-0
Last active February 26, 2016 03:32
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 ethan2-0/3f0a81699f17e95a885c to your computer and use it in GitHub Desktop.
Save ethan2-0/3f0a81699f17e95a885c to your computer and use it in GitHub Desktop.
RC5 Encryption Pseudocode
for i = 1 to 2*n:
l = l xor r
l = l <<< r
l = l + K[i] % 2^64
(l, r) = (r, l) # Swap l and r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment