Skip to content

Instantly share code, notes, and snippets.

@fadil703
Created February 25, 2019 03:45
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 fadil703/d05c595cc11d4791cb9d2cbd6f90d8cd to your computer and use it in GitHub Desktop.
Save fadil703/d05c595cc11d4791cb9d2cbd6f90d8cd to your computer and use it in GitHub Desktop.
1 0 1 1 0 0 1 0 1 1 0 1 1 1 <- Plain Text
1 1 0 1 0 0 0 1 1 0 1 0 0 1 <- Key
--------------------------- XOR enkripsi
0 1 1 0 0 0 1 1 0 1 1 1 1 0 <- cipher Text
1 1 0 1 0 0 0 1 1 0 1 0 0 1 <- Key
--------------------------- XOR dekripsi
1 0 1 1 0 0 1 0 1 1 0 1 1 1 <- Plain Text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment