mirror of
https://github.com/KyleBanks/XOREncryption.git
synced 2023-08-10 21:13:15 +03:00
Added char key commet to ObjectiveC implementation
This commit is contained in:
parent
9149a65457
commit
117bd7d8ad
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user