I'm writing a one-time pad encryption program because I got really interested in the idea of "encryption which has been proven to be impossible to crack if used correctly".
I'm writing the program just for fun, as programming and cryptography are my hobbies. Therefore, I don't expect the program to be used for highly vulnerable data. I just wonder how secure my program is, and what I can improve (considering that the hacker won't have any access to the key file).
The program starts off by:
- Making a list of 50 numbers from the mouse movement coordinates at the start of the program.
- That number list is then the seed to the ISAAC Random Number Generator (More info here).
- A key file is generated based on the size of the file to be encrypted. The key file is generated from random numbers from the ISAAC Random Number Generator.
- The file-to-be-encrypted and the generated Key file are XOR'ed and saved to a new file--the ciphertext file.
- (deciphering) Happens by XOR'ing the key file and ciphertext file, and you get the plaintext file.