mirror of
https://github.com/KyleBanks/XOREncryption.git
synced 2023-08-10 21:13:15 +03:00
Add key array comment
This commit is contained in:
parent
01d4e8862c
commit
4ba1f6fac3
@ -3,7 +3,7 @@ using System;
|
|||||||
class XOREncryption
|
class XOREncryption
|
||||||
{
|
{
|
||||||
private static string encryptDecrypt(string input) {
|
private static string encryptDecrypt(string input) {
|
||||||
char[] key = {'K', 'C', 'Q'};
|
char[] key = {'K', 'C', 'Q'}; //Any chars will work, in an array of any size
|
||||||
char[] output = new char[input.Length];
|
char[] output = new char[input.Length];
|
||||||
|
|
||||||
for(int i = 0; i < input.Length; i++) {
|
for(int i = 0; i < input.Length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user