Skip to content

Instantly share code, notes, and snippets.

@moul
Created May 27, 2019 14:07
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 moul/d8d253755f6e24edcb415c8d4563c0fe to your computer and use it in GitHub Desktop.
Save moul/d8d253755f6e24edcb415c8d4563c0fe to your computer and use it in GitHub Desktop.
otp examples
$ echo "hello world!" | hexdump -C
00000000  68 65 6c 6c 6f 20 77 6f  72 6c 64 21 0a           |hello world!.|
$ echo "@@@@@@@@@@@@" | hexdump -C
00000000  40 40 40 40 40 40 40 40  40 40 40 40 0a           |@@@@@@@@@@@@.|
$ echo "hello world!" | otp "@@@@@@@@@@@@@" | hexdump -C
00000000  28 25 2c 2c 2f 60 37 2f  32 2c 24 61 4a           |(%,,/`7/2,$aJ|
$ echo "hello world!" | otp "@@@@@@@@@@@@@" | otp "@@@@@@@@@@@@@"
hello world!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment