ECB Mode (ARCH8113)
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Key kotlin.security.ecb-mode · Severity error · Category security · CWE CWE-327
Flags block ciphers in ECB mode, which leaks plaintext patterns.
Incorrect
Section titled “Incorrect”Cipher.getInstance("AES/ECB/PKCS5Padding")Correct
Section titled “Correct”Cipher.getInstance("AES/GCM/NoPadding")Use an authenticated mode (GCM) with a fresh nonce per message.