Using AES Crypt for JavaThis Java AES Crypt package contains the Java class es.vocali.util.AESCrypt, which provides file encryption and decryption using aescrypt file format. Versions 1 & 2 are supported both for reading and writing. Version 0 is not supported currently. RequirementsThe Java AES Crypt package only works in Java 6, but can be easily adapted to Java 5 by replacing the call to NetworkInterface.getHardwareAddress() with something else. In order to use 256 bit AES keys, you must download and install "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" from Oracle. How to UseEmbedded in Java ProjectSee JavaDoc and typical use in AESCrypt.main() method. There are no dependencies other than Java 6 API. From the Command Linejava -cp bin es.vocali.util.AESCrypt e|d password fromPath toPath Operation mode is selected with (e)ncrypt or (d)ecrypt. |
|