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++) {