This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Is MD5 algorithm supported in libgcj?


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]