perform XOR operation of key with every character in string
for ( int i = 0 ; i < len ; i ++ ) { outputString = outputString + char . ToString ( ( char ) ( inputString [ i ] ^ xorKey ) ) ; } Console . WriteLine ( outputString ) ; return outputString ; }