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
See here:
flutter_rsa_generator_example/lib/utils/rsa_key_helper.dart
Line 192 in 64eb00b
I used this helper function to calculate the public exponent:
// inverse of private exponent -> public exponent //! \sa rsa_key_generator.dart static BigInt getPublicExponent(RSAPrivateKey privateKey) { var pSub1 = (privateKey.p - BigInt.one); var qSub1 = (privateKey.q - BigInt.one); var phi = (pSub1 * qSub1); var publicExponent = privateKey.exponent.modInverse(phi); return publicExponent; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See here:
flutter_rsa_generator_example/lib/utils/rsa_key_helper.dart
Line 192 in 64eb00b
I used this helper function to calculate the public exponent:
The text was updated successfully, but these errors were encountered: