From 117bd7d8ad11af94251737936b0c7cc8e99c5011 Mon Sep 17 00:00:00 2001 From: KyleBanks Date: Sun, 6 Oct 2013 16:13:51 -0400 Subject: [PATCH] Added char key commet to ObjectiveC implementation --- Objective-C/main.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objective-C/main.m b/Objective-C/main.m index 4bc7235..83f9a61 100644 --- a/Objective-C/main.m +++ b/Objective-C/main.m @@ -14,7 +14,7 @@ @implementation XOREncryption +(NSString *) encryptDecrypt:(NSString *)input { - char key[] = {'K', 'C', 'Q'}; + char key[] = {'K', 'C', 'Q'}; //Can be any chars, and any size array NSMutableString *output = [[NSMutableString alloc] init]; for(int i = 0; i < input.length; i++) {