Package com.google.gwt.util.tools.shared
Class Md5Utils
java.lang.Object
com.google.gwt.util.tools.shared.Md5Utils
Utility class to generate MD5 hashes using per-thread MD5
MessageDigest
instance.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
getMd5Digest
(byte[] input) Generate MD5 digest.static byte[]
getMd5Digest
(String string) Generate MD5 digest.
-
Constructor Details
-
Md5Utils
public Md5Utils()
-
-
Method Details
-
getMd5Digest
public static byte[] getMd5Digest(byte[] input) Generate MD5 digest.- Parameters:
input
- input data to be hashed.- Returns:
- MD5 digest.
-
getMd5Digest
Generate MD5 digest.
-