This is so simple. Encrypt: Enter text Enter a password Decrypt: Enter encrypted text Enter password We're done here.
If you put either password or text too long, it will crash, lag, or output something like: 1.06111641815467e+45 I have no idea why, but it is probably because of how this works. Decryption will not fail. It will just not work properly if you get the password wrong. Letters to numbers: https://scratch.mit.edu/projects/11132259/ Encryption Error Codes Code 1: One of the multipliers were set to 0 during encryption, causing the encrypted text to become 0.