Java SE strong cryptography for Java 7? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and cita开发者_如何学JAVAtions.
Closed 6 years ago.
Improve this questionThe preview release of Java 7 seems to be missing JCE package for unlimited cryptography strength. Has someone stumbled upon such?
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
You need to install the missing JCE package.
Locate your jre lib/security directory
$ which java /usr/bin/java # Do this recursively till you find the java installation folder $ ls -la /usr/bin/java
On Linux it should be by default: /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/security/
On Windows it should be by default: C:\Program Files\Java\jre7\lib\security
- Download the Java Cryptography Extension (JCE)
Download for Java 6: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
Download for Java 7: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
Download for Java 8: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
- Install the JCE
Extract the downloaded zip and place the two .jar files: US_export_policy.jar and local_policy.jar into your jre/lib/security folder.
Overwrite old files if any.
精彩评论