Re: [gui-dev] Re: Faster SHA1 and Tiger MessageDigestSPI's (version 1.11)

Philippe VERDY <[email protected]> Wed, 30 Jun 2004 16:49:34 +0200 (CEST)
Newsgroups gmane.network.gnutella.limewire.gui.devel
Message-ID <23537706.1088606974829.JavaMail.www@wwinf0402>
> Message du 30/06/04 16:33
> De : "Roger Kapsi" 
> A : [email protected]
> Copie à : 
> Objet : [gui-dev] Re: Faster SHA1 and Tiger MessageDigestSPI's (version 1.11)
> >
> [ (pas de nom de fichier) (0.1 Ko) ]

I suppose, Roger, that you forgot to include your message before sending it, or you wanted to reply to another mail and clicked Send instead of Close...

The most current versions of SHA1, MD5 and Tiger digest SPIs are now listed by Sun in a RFE for some version of Java 1.5. I have also put them in a mirror at http://www.rodage.org/pub/java/

GnuCrypto is being reworked too to include my optimizations for them (however GnuCrypto uses its own IMessageDigest interface from which a standard MessageDigestSPI is added on top, if used within a standard security provider).

I had started to rework SHA-256 (and SHA-224 which is a small variant), SHA-512 (and its variant SHA-256), because they are now becoming part of the standard approved in US and Europe, and in almost all new PKI certificates for signatures. My tests on these show LOT of optimizations from the current Sun implementation which is desesperately slow...

So my SHA1 and MD5 are already competing with JNI/C implementations: my 100% pure Java version offers nearly the same performance as many C implementations when running the Server JVM or with the Client VM in batch mode, except that JNI uses more committed system memory to load external DLLs or shared libraries.

The internal JIT of Java 1.5 (code-named Tiger) is now so fast that JNI development is no more justified for something else than integration with local system components.


_______________________________________________
gui-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/gui-dev