One time pad
From Hackepedia
Jump to navigationJump to search
A one time pad takes plaintext and a pad (random garble) and XORs it together. Another person who has the same pad can then decipher this.
Here is an example in C how a one time pad program might look like: