| |
|
| java.lang.Object de.mcs.utils.MD5Utils
MD5Utils | final public class MD5Utils (Code) | | Some helper methode to build and convert a MD5 hash. For building MD5 from
files see de.mcs.utils.Files#computeMD5FromFile(String)
author: w.klaas |
Method Summary | |
public static byte[] | md5Bytes(byte[] s) Building the md5 bytes from byte array. | public static String | md5BytesToString(byte[] digest) convinient functions to convert a MD5 digest (as byte[]) to a string.
Parameters: digest - the byte[] to convert. | public static byte[] | md5StringTobytes(String md5String) convinient functions to convert a MD5 stirng to the byte array.
Parameters: md5String - the string to convert. |
md5Bytes | public static byte[] md5Bytes(byte[] s)(Code) | | Building the md5 bytes from byte array.
Parameters: s - data byte array byte[] byte array with md5 |
md5BytesToString | public static String md5BytesToString(byte[] digest)(Code) | | convinient functions to convert a MD5 digest (as byte[]) to a string.
Parameters: digest - the byte[] to convert. String |
md5StringTobytes | public static byte[] md5StringTobytes(String md5String)(Code) | | convinient functions to convert a MD5 stirng to the byte array.
Parameters: md5String - the string to convert. byte[] |
|
|
|