You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/05/04 13:59:07 UTC
[GitHub] [activemq-artemis] YYTVicky commented on pull request #3108: SecrectKeySpec contant key update
YYTVicky commented on pull request #3108:
URL: https://github.com/apache/activemq-artemis/pull/3108#issuecomment-623480956
Hi,
Thanks for your response! @jbertram @michaelandrepearce
our tool generates another fix template as:
KeyGenerator keyGen = KeyGenerator.getInstance("AES");
keyGen.init(128);
SecretKey secretKey = keyGen.generateKey();
byte[] keyBytes= secretKey.getEncoded();
for your encode and decode file. the keygenerator are able to generate the Symmetric key, the encode and decode part can use the same key now.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org