Skip to content

Instantly share code, notes, and snippets.

@benvanstaveren
Created July 4, 2012 09:24
Show Gist options
  • Save benvanstaveren/3046327 to your computer and use it in GitHub Desktop.
Save benvanstaveren/3046327 to your computer and use it in GitHub Desktop.
previous_block = null;
while replay_data_available:
block = get_8_bytes_from_replay_data
decrypted_block = decrypt_the_block(block)
if this_block is not the_first_block:
decrypted_block = decrypted_block xor previous_block
previous_block = decrypted_block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment