nu.studer.gradle.util
Class MD5

java.lang.Object
  extended by nu.studer.gradle.util.MD5

public final class MD5
extends java.lang.Object

Utilities related to MD5 hashing.


Method Summary
static java.lang.String generateMD5Hash(java.lang.String string)
          Calculates the MD5 hash for the given string and returns it in HEX format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

generateMD5Hash

public static java.lang.String generateMD5Hash(java.lang.String string)
Calculates the MD5 hash for the given string and returns it in HEX format.

Parameters:
string - the string to hash
Returns:
the resulting MD5 hash as a string in HEX format