Description: Use bouncy castle jar package implements the ElGamal encryption module, as well as the test case, you need to import a bouncy castle pack (included), and you need the JDK JRE environment, or the JRE the configuration local_policy.jar and US_export_policy.jar (compression packages of existing jdk6 and 7). Switch to JDK_Home \ jre \ lib \ security directory, the corresponding coverage local_policy.jar, and US_export_policy.jar two files. At the same time, you may need in the JRE_Home \ lib \ security directory also needs corresponding to the coverage of these two documents. Configuration permissions files ultimate goal is to make application to obtain the appropriate permissions in the operating environment, can strengthen the security of the application. Typically, it is installed on the application server JRE, instead of JDK. This is necessary in the application server JRE_Home \ lib \ security directory corresponding to the coverage of these two permissions file.
To Search:
File list (Check if you may need any files):
ElGamal
.......\.classpath
.......\.project
.......\.settings
.......\.........\org.eclipse.jdt.core.prefs
.......\bin
.......\...\ElGamalCoder.class
.......\...\ElGamalCoderTest.class
.......\src
.......\...\ElGamalCoder.java
.......\...\ElGamalCoderTest.java
UnlimitedJCEPolicyJDK7.zip
bcprov-jdk15on-148.jar
jce_policy-6.zip