perform XOR operation of key with every character in string
for ( int i = 0 ; i < len ; i ++ ) { outputString = outputString + Character . toString ( ( char ) ( inputString . charAt ( i ) ^ xorKey ) ) ; } System . out . println ( outputString ) ; return outputString ; }