Skip to content

How to force pre 0.16.1 behavior (no lazy curve precomputation)? #277

Answered by tomato42
andrei-datcu asked this question in Q&A
Discussion options

You must be logged in to vote

Any operation with the curve generator will cause the precomputation to happen, so just take a generator for the curve you'll use and then multiply it by 2 or such, like:

from ecdsa import NIST256p
NIST256p.generator * 2

iterate over all curves to precompute all

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andrei-datcu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #270 on December 06, 2021 14:11.