This question already has an answer here:
- Theoretical pi-based stream cipher 3 answers
I created a simple yet efficient message encrypting page that will encrypt messages using Pi. Though not being an expert in this area, I am nowhere near sure how secure this is and how easy it would be to crack the encryption.
Basically how it works is there are 2 inputs into the function, the message to be encrypted, and the key. The key specifies which digit in pi to begin with.
So pi is
3.14159... and if the key was 3, the encryption would start at 4.
Can someone tell me how well this system works? If it has flaws and what are they so I can fix them?
The page can be found here: http://spedwards.github.io/projects/msgencrypt/
The encryption source can be found here: https://github.com/Spedwards/JS-MessageEncrypter
If flawed can someone please crack the message within the quotes as proof. "Hlont, iutgrcuxnewmova xn topdoqj akmy nthscuwros."