Python

Python

Made by DeepSource

Audit required: Insecure cipher mode BAN-W1005

Security
Major

Use of insecure cipher mode such as ECB is not recommended for use in cryptographic protocols at all.

In case of ECB, it encrypts identical plaintext blocks into identical ciphertext blocks; and does not hide data patterns well. In some senses, it doesn't provide serious message confidentiality.

Read more about different cipher modes here -- https://cryptography.io/en/latest/hazmat/primitives/symmetric-encryption/#module-cryptography.hazmat.primitives.ciphers.modes