AES Encryption is a common encryption method in our work , And in java The corresponding interface has also been implemented in . however Java Self contained JDK Default maximum implementation 128 Bit and below . If you use java Self contained api Realization aes256 Will report
java.security.InvalidKeyException:illegal Key Size Error of .
If you want to start 256 A key , You need to update local_policy.jar,US_export_policy.jar
If your JAVA_HOME by C:\Program Files\Java\jdk1.6.0_14.
Cover : C:\Program Files\Java\jdk1.6.0_14\jre\lib\security Next file of the same name
Cover : C:\Program Files\Java\jre6\lib\security Next file of the same name
Download address ：
Java Empathy ！
- java AES Why not support 256 position ？
- Android Realization AES 256 Encryption code
Written with LeoChin.