detect AES repetitions