|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.commons.lang.Md5
public final class Md5
class to create a MD5 sum
Method Summary | |
---|---|
static String |
getDigestAsString(InputStream in)
return md5 from InputStream as string |
static String |
getDigestAsString(String str)
return md5 from string as string |
static String |
stringify(byte[] digest)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String stringify(byte[] digest)
public static String getDigestAsString(String str) throws IOException
str
- plain string to get md5 from
IOException
public static String getDigestAsString(InputStream in) throws IOException
in
- The input stream to be digestified.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |