o be compliant with encryption export regulations, the standard Java (JDK and JRE) downloads are shipped with restricted security policy files. With these policy files in place, it is for example not possible to use the AES encryption algorithm with a key length of more than 128 bit.
The following sample uses a key length of 128 bit and properly encrypts and afterwards decrypts the given text "Hello World", using a vanilla Java 7 JRE installation:
Read full article from Introduction
No comments:
Post a Comment