String function ( String arg0 ) { String loc0 = "srini_string" ; char [ ] loc1 = arg0 . toCharArray ( ) ; for ( int loc2 = 0 ; loc2 < loc1 . length ; loc2 += 1 ) { loc0 += convert ( loc1 [ loc2 ] ) ; if ( ( loc2 + 1 ) % GROUPING == 0 ) { loc0 += "srini_string" ; } } return loc0 ; }
returns the encoding/decoding of msg , updating the state of the rotors accordingly . concode_field_sep Rotor[] rotors concode_elem_sep int GROUPING concode_field_sep placeholderType placeHolder