For homework, I have a ciphertext which is 582 chars long. The OTP used was reused over and over. The OTP is 50 chars long.
How exactly can I now get the key and the cleartext?
For homework, I have a ciphertext which is 582 chars long. The OTP used was reused over and over. The OTP is 50 chars long.
How exactly can I now get the key and the cleartext?
It's not a one time pad, it's a Vigenère cipher.
You'd break this by organising into 50 character chunks so the aligned characters have been XOR'd with the same key character. You then perform a frequency analysis on this result to get the most likely key value. Repeat for all 50 characters.