It appears that you are using a static or predictable Initialization Vector (IV) for your cipher. This makes the ciphertext predictable and vulnerable to attacks. Use java.security.SecureRandom in Kotlin to generate secure and unpredictable IVs.