cincamipd/src/main/java/org/ciedayap/pabmm/pd/Synthesizer.java
private String computeHash(String brief) throws NoSuchAlgorithmException
    {       
        if(brief==null || brief.trim().length()==0) return null;
        
        if(md5==null) md5=MessageDigest.getInstance("MD5");
        
        
        md5.update(brief.getBytes());
        return toHexString(md5.digest());
    }
/**
     * It computes a MD5 hash from the brief message
     * @param brief The brief message to be computed
     * @return The hash expressed as a hexadecimal String
     * @throws NoSuchAlgorithmException When MD5 is not defined
     */
It computes a MD5 hash from the brief message
@param brief The brief message to be computed
@return The hash expressed as a hexadecimal String
@throws NoSuchAlgorithmException When MD5 is not defined
It computes a MD5 hash from the brief message @param brief The brief message to be computed @return The hash expressed as a hexadecimal String @throws NoSuchAlgorithmException When MD5 is not defined
private String computeHash(String brief) throws NoSuchAlgorithmException
    {       
        if(brief==null || brief.trim().length()==0) return null;
        if(md5==null) md5=MessageDigest.getInstance("MD5");
        md5.update(brief.getBytes());
        return toHexString(md5.digest());
    }
private String computeHash ( String brief ) throws NoSuchAlgorithmException { if ( brief == null || brief . trim ( ) . length ( ) == 0 ) return null ; if ( md5 == null ) md5 = MessageDigest . getInstance ( "MD5" ) ; md5 . update ( brief . getBytes ( ) ) ; return toHexString ( md5 . digest ( ) ) ; }
It computes a MD5 hash from the brief message
 @param brief The brief message to be computed
 @return The hash expressed as a hexadecimal String
 @throws NoSuchAlgorithmException When MD5 is not defined
It computes a MD5 hash from the brief message @param brief The brief message to be computed @return The hash expressed as a hexadecimal String @throws NoSuchAlgorithmException When MD5 is not defined