A one-time-pad is a method for encrypting a message using a cipher. First, all the characters in both the cipher and message are converted to numbers. Then each character is subtracted from it's matching character in the cipher text. The result is converted back into a character. Technically there is no way to crack the code as the same code could decrypt to any message given the right cipher. However the problem is, you need some way to communicate the key to the recipient in the first place hence why it's not widely used. More info.
I made this as a little project when a quick google led me to a similar web app that appeared to do the encryption on the server using PHP, so the unencrypted message is sent to the server before being encrypted and sent back. This app uses javascript so all the magic happens on your computer and nothing is sent over the internet. Plus you can inspect the source code to see how it works if your that way inclined, which isn't possible with PHP.