My professor put this on the slides but gave us very little context. It is meant to be an overview of how it works at a high level.
I have a programming background and I get the general idea of attacks like Chosen Plaintext Attack. Be warned I am terrible at maths!
Request: I hope someone can walk through what this is doing step by step in English. Please refer to the lecture slide.
- What does the '.' dot symbol mean in the ChosenPlaintext(.) part?
- What is a and b storing?
a=b goto... is this checking length or if both are the same text?
What I think is happening: It checks if chosen plaintext a is equal to b and if true then quit the program. Else it sets m to the chosen plaintext a. It uses ChosenPlaintext(m) to encrypt it and assign returned ciphertext to c. For some reason, it does XOR next but I am lost...