lang:

Java

regex:

Cipher....Instance\s?\(\s?\".*ECB

description:

 ECB is not always secure and resident properties of the plaintext may be visible in the ciphertext. An attacker may be able to analyze patterns in order to deduce properties that the encryption is intended to hide.
tags:
ecb weak encryption mode
results