Detector: | GrouMiner |
Target: | project ' adempiere ' version1312 |
Misuse: | misuse ' 1 ' |
Tags: |
Details about the known misuse from the MUBench dataset.
Description: | A string is converted to bytes without specifying an explicit encoding. The bytes are then passed to Cipher.doFinal(). The fix specifies the encoding "UTF-8". |
Fix Description: | (see diff) |
Violation Types: |
|
In File: | org/compiere/util/Secure.java |
In Method: | encrypt(String) |
Code with Misuse: |
|
Code with Pattern(s): |
|