PointyCastle / pointycastle

Moved into the Bouncy Castle project: https://github.com/bcgit/pc-dart
MIT License
270 stars 76 forks source link

ecc_fp.dart bugs? Q in public key multiple d in private key got different secret some times #194

Closed ipconfiger closed 5 years ago

ipconfiger commented 5 years ago

if there's two key pair of ECPublicKey and ECPrivateKey alice and bob if use alice.publickey.Q bob.privatekey.d and bob.publickey.Q alice.privatekey.d to calculate the secret. It's equal most times, but sometimes not equal. Not the same as theory. Or what i miss?