I need to create a Java version of an existing .NET application which uses Xceed Encryption Library to encrypt and decrypt files. I need help on how to get a Java to encrypt and decrypt files which have been encrypted with the .NET Xceed Encryption library.
The Xceed library creates a symmetric key using a passphrase from the user. How do I do this in Java?
I already have code which generates a random secret key, this is no good. How do I create an AES 128 bit SecretKey from a given passphrase.
SCJP 1.4, SCWCD 1.4
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999