This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Helo! When I try to run RC4 test I get following exception: Generating a RC4 key... Exception in thread "main" java.security.NoSuchAlgorithmException: Algorithm RC4 not available at javax.crypto.SunJCE_b.a(DashoA6275) at javax.crypto.KeyGenerator.getInstance(DashoA6275) at FileEncryptorRC4.createKey(FileEncryptorRC4.java:43) at FileEncryptorRC4.main(FileEncryptorRC4.java:28) Any ideas for this? I am using Sun-1.4 JRE which has JCE integrated. Thanks in advance
I have no java certifications. This makes me a bad programmer. Ignore my post.
Joined: Nov 22, 2008
Originally posted by Lewin Chan: Hi, there the SunJCE provider doesn't generally come with very many algorithms. You wil need to find a crypto-provider that has the RC4 algorithm, and that you can install as a Security provider using
Thx, Lewin Now I am a bit embarressed as I found the "Professional Java Security" on my bookself which I won from this forum =) The book describes the JCE installation in full detail, especially for Bouncy Castle JCE. Bouncy Castle JCE seems to be working fine. But, anyways, thx