-
Notifications
You must be signed in to change notification settings - Fork 135
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
Full width int not supported on web #126
Comments
Argon2 is not supported on web currently; it requires 64-bit integers, and we have no way to simulate that behavior from Dart code compiled to JS. The Android one is a bug. |
Shouldn't be possibile to use the BigInt to represent such large numbers? 🤔 never tested but both Dart and JS has this class to represent integers larger than 2^53-1 |
PR #133 may be helpful. But I don't think implementing argon2 in pure dart is a good choice. |
Are there plans to make a similar fix for Poly1305, which still has the calls to assertFullWidthInteger? |
join the question |
I used this package: cryptography |
I took this example from the Argon2 test:
But when I use it on Google Chrome I get this exception:
And when I try it on an android device I get this error:
Am I calling the library with wrong parameters? If so, how should I use it?
Flutter version: 2.2.3
Windows: 10
Android: 11
Chrome version: 92.0.4515.107
The text was updated successfully, but these errors were encountered: