Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / May 2004

Tip: Looking for answers? Try searching our database.

RC4 in Java 1.4.1_03?

Thread view: 
Daniel - 25 May 2004 13:59 GMT
Hi!

Is there a trick to get a Cipher instance to use the stream cipher RC4?
When I try to get it, I get a "NoSuchAlgorithmException: Cannot find any
provider supporting RC4", even though it says in the JCE Reference Guide
for JDK 1.4 that it is available.

Adding SunJCE as a security provider doesn't work either.

When I list the providers available to me, I get:

SUN Version: 1.2
SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests;
SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator;
PKIX CertPathBuilder; LDAP, Collection CertStores)

SunJSSE Version: 1.41
Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust
factories, SSLv3, TLSv1)

SunRsaSign Version: 1.0
SUN's provider for RSA signatures

SunJCE Version: 1.4
SunJCE Provider (implements DES, Triple DES, Blowfish, PBE,
Diffie-Hellman, HMAC-MD5, HMAC-SHA1)

SunJGSS Version: 1.0
Sun (Kerberos v5)

Is this a JCE Reference Guide documentation screw-up? RC4 isn't
available in JDK 1.4.1_03, is it?

Thanks.
nobody - 26 May 2004 03:34 GMT
> Is this a JCE Reference Guide documentation screw-up? RC4 isn't
> available in JDK 1.4.1_03, is it?

No, it's not.  RC4 is a "standard" JCE cipher name, but isn't supplied
by the out-of-box Sun provider.  BouncyCastle has one, as does GnuCrypto
(called "ARC4" for trademark reasons).


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.