-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
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
C# code and Objective C code gives two different set of results #42
Comments
I'm seeing the same thing. I have my Android and iOS apps producing the same encrypted result (they both use the same IV) but I can't get the windows side to produce the same result... have you found a fix for this, per chance? |
Update: I solved my problem... the "how to use" code for CS showed this line wrong. once I corrected to 32, I now get the same results from C#/iOS/Android: string key = CryptLib.getHashSha256("1111111111111111", 32); //32 bytes = 256 bits |
We have followed exactly the same approach given here for IOS and C#. But unfortunately we are getting two different results.
We hardcoded IV key and Secret key and tested. Even this scenario into different results.
Let us know that any one has resolved this issue.
Any help is appreciated.
Thanks in advance
The text was updated successfully, but these errors were encountered: