Hello,

how can I decrypt an AES encrypted XML-document? I understand how to do it
with DESede:

File kekFile = new File(keyFile);
DESedeKeySpec keySpec = new
DESedeKeySpec(JavaUtils.getBytesFromFile(keyFile));
SecretKeyFactory skf = SecretKeyFactory.getInstance(�DESede�);
SecretKey key = skf.generateSecret(keySpec);

But how does it work with AES or Blowfish? The problem is only loading the
key file. Does anyone have a code sample for that?

Thank you very much. 

Dominik

Reply via email to