calculates the hash code with the given hash algorithm . concode_field_sep String txt concode_field_sep String getMd5 concode_elem_sep MessageDigest getMessageDigest concode_elem_sep String toHexString concode_elem_sep String getSha256 concode_elem_sep String getSha512 concode_elem_sep String getSha1
String function ( HashAlgorithm arg0 ) { if ( txt == null ) { return null ; } MessageDigest loc0 = getMessageDigest ( arg0 . arg0 ( ) ) ; loc0 . update ( txt . getBytes ( ) ) ; byte [ ] loc1 = loc0 . digest ( ) ; return toHexString ( loc1 ) ; }