[Cryptography-dev] ECPrivateKey form private_value
Dario Sneidermanis
dariosn at gmail.com
Thu May 14 10:20:51 CEST 2015
Hi,
I'm trying to compute an EllipticCurvePrivateKey from a private_value (d).
It seems that the only way to achieve this is to create an
EllipticCurvePrivateNumbers object, but the constructor takes both the
private_value and the public_numbers.
Why does it need the public_numbers, when it could compute them (knowing
the curve), by doing d*G (G being the curve generator)?
Is there any way to go from d to the ECPrivKey without doing d*G by myself?
Thanks,
Dario
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cryptography-dev/attachments/20150514/d3488409/attachment.html>
More information about the Cryptography-dev
mailing list