minimum working example for ECC #651
davejakenic
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have read the documentation on ECC ( https://pycryptodome.readthedocs.io/en/latest/src/public_key/ecc.html ).
I cannot help myself with it. I would like to compute the following:
I initialize an object G, hiding a cyclic group context (a.k.a., "g,N"), and being the generator of the group.
That is, using random integers j,k in python, I can compute:
Can you give me a minimum actual working code example for the above with pycryptodome?
I don't care what curve is used precisely. It just has to satisfy the CDH assumption; and it would be nice if you give rough advice on the size of j,k and the size of G,U,V, respectively.
Thank you very much in advance!
Beta Was this translation helpful? Give feedback.
All reactions