Class Md5Utils

java.lang.Object
com.google.gwt.util.tools.shared.Md5Utils

public class Md5Utils extends Object
Utility class to generate MD5 hashes using per-thread MD5 MessageDigest instance.
  • 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

      public static byte[] getMd5Digest(String string)
      Generate MD5 digest.