문제

I am doing some crypto for my homework. The program doesn't show any errors while compiling. However when I run the program I get an exception - java.security.NoSuchAlgorithmException. I think this is due to the crypto restrictions. I have downloded and imported Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6 (but I am not sure whether the these libraries actually do the crypto). I couldn't find any Sun JCE jar which I've seen imported in some example programs that use crypto ( like import com.sun.crypto.provider.SunJCE).

Can anyone provide any directions as to how to run my code without exceptions?

도움이 되었습니까?

해결책

You have to download these files and follow the installation instruction in jce\README.txt

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top