See: Description
Class | Description |
---|---|
FilesystemBasedDigest |
Class implementing digest like MD5, SHA1.
|
WaarpBC |
Enum | Description |
---|---|
FilesystemBasedDigest.DigestAlgo |
All Algo that Digest Class could handle
|
MD5 can be implemented through Fast MD5 implementation, but can be reverted
to JVM native digest also.
Originally a C library support was optional but it is decided to stay full Java.
Recommendation for best performance would be to use FastMD5 if possible for MD5, but for portability to use native JVM digest implementations (so no FastMD5 at all).
In order to let you make some choice, here is a short performance reports: (done using java -server option)
For information, sphlib (http://www.saphir2.com/sphlib/) were compared to native JVM implementation for all those digests, and it appears on small benchmarks (speed from sphlib) that native JVM implementation performs better and that on MD5, FastMD5 performs better than sphlib but less than native JVM.
Therefore it is recommended to use native JVM MD5 support if possible.
Copyright © 2009–2020 Waarp. All rights reserved.