Counter (CTR)
Counter Mode uses the AES output as a XOR key to encrypt the plaintext. The output is generated by encrypting with AES ECB a nonce concatenated with a counter that is incremented for each block.
Attacks
Bit-flipping attack
ctr_bit_flipping.py
| |
Nonce reuse
ctr_nonce_reuse
| |
CRIME style attack
ctr_crime_attack.py
| |
Separator Oracle
ctr_separator_oracle.py
| |
Last updated on