format a byte array as a hex string . concode_field_sep char[] HEX_DIGITS concode_elem_sep ThreadLocal<MessageDigest> SHA_256_DIGEST concode_elem_sep ThreadLocal<MessageDigest> SHA_1_DIGEST concode_elem_sep ThreadLocal<MessageDigest> MD5_DIGEST concode_field_sep MessageDigest sha1 concode_elem_sep MessageDigest sha256 concode_elem_sep MessageDigest get concode_elem_sep ThreadLocal<MessageDigest> createThreadLocalMessageDigest concode_elem_sep MessageDigest md5
String function ( byte [ ] arg0 ) { Objects . requireNonNull ( arg0 ) ; StringBuilder loc0 = new StringBuilder ( 2 * arg0 . length ) ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { byte loc2 = arg0 [ loc1 ] ; loc0 . append ( HEX_DIGITS [ loc2 >> 4 & 0xf ] ) . append ( HEX_DIGITS [ loc2 & 0xf ] ) ; } return loc0 . toString ( ) ; }