We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example,for the following cases, a crash will occur
NSString *text = @""; NSString *key = @"key"; for (int i = 0; i < 10000; i++) { NSString *encrypt_data = [XXTEA encryptStringToBase64String:text stringKey:key]; NSString *decrypt_data = [XXTEA decryptBase64StringToString:encrypt_data stringKey:key]; NSLog(@"%@", encrypt_data); NSLog(@"%d",i); if ([text isEqual:decrypt_data]) { NSLog(@"success!"); } else { NSLog(@"fail!"); } }
The text was updated successfully, but these errors were encountered:
ffc89ba
Revert "Fixed #2"
758a4b8
This reverts commit ffc89ba.
No branches or pull requests
For example,for the following cases, a crash will occur
The text was updated successfully, but these errors were encountered: