I have spent today learning more about cryptography and thought i would try out some one-time pad cryptography in Python. It's taken me a few hours to learn the subject matter and tio actually write the script it works!
The one-time pad script asks the user for a secret message. The user types out their secret message and once they hit enter the script takes that text and produces a RANDOM key which is at least the same length as the original message. The script then displays, in the console, the randomised cryptographic key along with the original message and then it performs a decryption based on the random key and displays the message.
The cool thing about one-time pad encryption is the fact the key is at least the same length as the original text AND it's random, making it basically impossible to decrypt unless you know the key, which could be, in theory massive.