-2

I'm writing a simple test program that will be run just once that needs to be able to output SHA3-256 hashes for different input strings. I know that you aren't supposed to use sun.security.* classes directly and I know that BouncyCastle can do SHA3, but I want to use sun.security classes anyways for this test program.

jwils
  • 495
  • 3
  • 11

1 Answers1

0

Yes and No. See this. The short answer is that there are "export restrictions" on strong encryption cyphers, so by default Java doesn't have full strength encryption.

geneSummons
  • 907
  • 5
  • 15