So… when encrypting, there’s other things going on to address exactly what you’re worried about. One is what’s called chaining. It adds the previous text into the next encrypted block, so you have to successfully decrypt the previous piece to decrypt the next piece. Then you start the process off by sending a random number that’s just there to fix this problem. Since you have to unwrap the previous random number to get the chaining correct, it prevents that problem.
You’re correct about that being a problem, and it’s a huge problem. Any crypto system you build needs to change constantly so you don’t detect patterns in the codes.
Latest Answers