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