railo.commons.digest
Class MD5
java.lang.Object
railo.commons.digest.MD5
public final class MD5
- extends Object
MD5
public MD5(String input)
- Parameters:
input
-
MD5
public MD5(byte[] bytes)
getDigestAsString
public static String getDigestAsString(String str)
throws IOException
- return md5 from string as string
- Parameters:
str
- plain string to get md5 from
- Returns:
- md5 from string
- Throws:
IOException
getDigestAsString
public static String getDigestAsString(byte[] barr)
throws IOException
- Throws:
IOException
getDigestAsString
public static String getDigestAsString(String str,
String defaultValue)
getDigest
public String getDigest()
throws IOException
- Returns:
- return the digest
- Throws:
IOException
Copyright © 2012 Railo