Upgraded Affine
Classical cipher with a modern twist
There must be a problem here. Even with the PT = hello, world.
, key being (2,5)
, and IV = e
, I do not get the ciphertext displayed. Trying just the numberic table representation ('h' = 7)
and ('e' = 4)
, or the ascii character's hexidecimal value, and then either encrypting before or after, I simply do not get the same ciphertext result.
Okay, I figured it out. To save the rest of you hours upon hours of confusion: Despite the DIRECT link that says XOR is used in CBC, the solution DOES NOT use XOR. As a hint, it is some other arithmetic between the previous and current ciphertext for decryption, with the Affine cipher still being used as stated.