]
Kevin Conner updated JBESB-3015:
--------------------------------
Affects Version/s: 4.7
Performance: PublicCryptoUtil should create a Cipher instance only
once and not inside a loop as the current implementation does.
---------------------------------------------------------------------------------------------------------------------------------
Key: JBESB-3015
URL:
https://jira.jboss.org/jira/browse/JBESB-3015
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Security
Affects Versions: 4.7
Reporter: Daniel Bevenius
Assignee: Daniel Bevenius
Fix For: 4.7 CP1
The current code calls CryptoUtil.encrypt inside of a while loop. In the encrypt method a
new Cipher instance will be created. Instead of doing this we could add a method to
CryptoUtil, for example getCipherForEnctyption and the use that instance in the loop.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: