You are not logged in.
Pages: 1
Hi,
Basically I just need to compile this code :
import java.security.*;
import javax.crypto.*;
public class BlockCipherEngine {
public static void main(String[] args) {
Security.addProvider( new org.bouncycastle.jce.provider.BouncyCastleProvider() );
Cipher cipher = Cipher.getInstance("AES", "BC");
}
}
But I get the following :
package org.bouncycastle.jce.provider does not exist
I installed bcprov and added /usr/share/bcprov.jar to my $CLASSPATH.
What should I do ?
Thanks.
Offline
bcprov installs to /usr/share/java/bcprov.jar not /usr/shar/bcprov.jar
adjust your CLASSPATH and try again?
Offline
Pages: 1