Package com.yahoo.collections
Class MD5
java.lang.Object
com.yahoo.collections.MD5
Convenience class for hashing a String with MD5, and either returning
an int with the 4 LSBytes, or the whole 12-byte MD5 hash.
Note that instantiating this class can be expensive, so re-using instances is a good idea.
This class is not thread safe.
- Author:
- Einar M R Rosenvinge
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
md5
-
-
Constructor Details
-
MD5
public MD5()
-
-
Method Details
-
hash
-
hashFull
-