improve ChecksumUtil

This commit is contained in:
Sebastian Sdorra
2011-04-27 14:35:25 +02:00
parent ac062ebd19
commit 81d52d4a75

View File

@@ -99,6 +99,25 @@ public class ChecksumUtil
return Util.toString(digest.digest());
}
/**
* Method description
*
*
* @param input
*
* @return
*
* @throws IOException
*/
public static String createChecksum(String input) throws IOException
{
MessageDigest digest = getDigest();
digest.update(input.getBytes());
return Util.toString(digest.digest());
}
/**
* Method description
*