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
In api.dart uses Euler totient function to calculate _pubExp in RSAPrivateKey.
_pubExp
RSAPrivateKey
Most modern implementations of RSA generators apply the Carmichael totient function lcm(p - 1, q - 1).
lcm(p - 1, q - 1)
And when I'm generating RSAPrivateKey outside of the pc-dart calculated _pubExp != original.
pc-dart
_pubExp != original
More details in question on stackoverflow
Not expert in security, so I don't know consequences, but from development's side it feels strange.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Now
In api.dart uses Euler totient function to calculate
_pubExp
inRSAPrivateKey
.But
Most modern implementations of RSA generators apply the Carmichael totient function
lcm(p - 1, q - 1)
.And when I'm generating RSAPrivateKey outside of the
pc-dart
calculated_pubExp != original
.Not expert in security, so I don't know consequences, but from development's side it feels strange.
The text was updated successfully, but these errors were encountered: