common/src/main/java/HTTPClient/MD5.java
/**
     * Digest the input.
     *
     * @param input the data to be digested.
     * @return the md5-digested input
     */
Digest the input.
@param input the data to be digested.
@return the md5-digested input
Digest the input . @param input the data to be digested . @return the md5 - digested input
public static final byte[] digest(byte[] input)
    {
	try 
	{
	    MessageDigest md5 = MessageDigest.getInstance("MD5");
	    return md5.digest(input);
	}
	catch (NoSuchAlgorithmException nsae)
	{
	    throw new Error(nsae.toString());
	}
    }
public static final byte [ ] digest ( byte [ ] input ) { try { MessageDigest md5 = MessageDigest . getInstance ( "MD5" ) ; return md5 . digest ( input ) ; } catch ( NoSuchAlgorithmException nsae ) { throw new Error ( nsae . toString ( ) ) ; } }
Digest the input.
Digest the input .