This appears not to actually solve the hard problems of cryptography. It simply generates a random key, them XORs your message with it.<p>The key and the message are independently just random data and don't reveal anything about the content of the original message (except it's length).<p>It is a pretty rare case where we cannot transmit messages securely but we are confident that we can transmit two messages and not have them <i>both</i> intercepted.<p>If on the other hand you can securely transmit keys that are as big as your data, you could of course just transmit the data itself.<p>As such this is a starting point in understanding cryptography rather than a practical application.<p><i>I think, please tell me if I am missing something</i><i>