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).