Skip to content

Instantly share code, notes, and snippets.

/example.rb Secret

Created June 29, 2016 14:18
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/94b27b301aafdd79cc5bd264d4948c0d to your computer and use it in GitHub Desktop.
Save anonymous/94b27b301aafdd79cc5bd264d4948c0d to your computer and use it in GitHub Desktop.
num = (message[ 8].ord << 0) \
| (message[ 9].ord << 8) \
| (message[10].ord << 16) \
| (message[11].ord << 24)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment