Cipher cipher = Cipher.getInstance(DEFAULT_CIPHER_ALGORITHM)

Cipher cipher = Cipher.getInstance("AES/CBC/NoPadding")

1、Key Management: Hardcoded Encryption Key

2、Weak Encryption: Insecure Mode of Operation

把变量换成配置文件读取可以规避扫描检查

更多推荐

fortify源码检查处理