question: protected static String nonceCountToHex ( int count ) { String str = Integer . toHexString ( count ) ; StringBuffer pad = new StringBuffer ( ) ; if ( str . length ( ) < 8 ) { for ( int i = 0 ; i < 8 - str . length ( ) ; i ++ ) { pad . append ( "0" ) ; } } return pad . toString ( ) + str ; }
target:  Takes 'nonceCount' value and returns HEX value of the value.