Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I created a simple yet efficient message encrypting page that will encrypt messa

ID: 652825 • Letter: I

Question

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?

Explanation / Answer

Assuming the digits of ? are pseudorandom (which hasn't been proven), you could construct a cipher from it. However:

1.Your numbers are way too small to be secure.
2.You seem to be adding a decimal digit to the letter, which means the ciphertext leaks more than half the bits: you know 'j' was one of 'a'...'j' originally.
3.You only handle lower case letters

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote