This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Is MD5 algorithm supported in libgcj?
- To: arajesh at india dot adventnet dot com
- Subject: Re: Is MD5 algorithm supported in libgcj?
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Wed, 19 Jul 2000 05:57:42 -0700 (PDT)
- Cc: "java-discuss at sourceware dot cygnus dot com" <java-discuss at sourceware dot cygnus dot com>
- References: <39754799.25338C34@india.adventnet.com>
>>>>> "Rajesh" == arajesh <arajesh@india.adventnet.com> writes:
Rajesh> java.security.NoSuchAlgorithmException: MD5
Rajesh> java::security::MessageDigest::getInstance(java::lang::String *)
Rajesh> I also compiled with the cryptix extensions and added Security
Rajesh> Providers for the Digest Algorithms in my main method. But
Rajesh> even then i am getting the same error. Could anybody please
Rajesh> help me regarding this.
We don't directly support MD5, as you found out.
I looked at my copy of Cryptix and I don't see an MD5 implementation.
I looked in src/cryptix/jce/provider/md.
There I see MD2.java and MD4.java, but no MD5.java.
Maybe Cryptix doesn't support MD5? You'd have to ask them to be
certain. I only have a passing familiarity with Cryptix (I've built
it with gcj, and fixed a few bugs thus revealed, but that's about it).
Tom