Hot answers tagged

1

Just for simplicity lets assume that your short period "password" was just XORed with plaintext. So we have encryption procedure like: for(int i = 0; i < plaintext_len; i++){ ciphertext[i] = plaintext[i] ^ password[i % password_len]; } When you shift your ciphertext by password_len and XOR it with original ciphertext, you'll cancel out your ...



Only top voted, non community-wiki answers of a minimum length are eligible