Last active
February 26, 2016 03:32
-
-
Save ethan2-0/3f0a81699f17e95a885c to your computer and use it in GitHub Desktop.
RC5 Encryption Pseudocode
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
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