0

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?

TheRookierLearner
  • 3,643
  • 8
  • 35
  • 53

1 Answers1

0

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

Stefan Rasmusson
  • 5,445
  • 3
  • 21
  • 48