String function ( String arg0 ) { int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . length ( ) ; loc1 ++ ) { loc0 ^= ( byte ) arg0 . charAt ( loc1 ) ; } return String . format ( "srini_string" , loc0 ) ; }
calculates xor checksum of given string . resulting hex value is returned as a string in two digit format , padded with a leading zero if necessary . concode_field_sep PlaceHolder placeHolder concode_field_sep String add concode_elem_sep int index concode_elem_sep String calculate