-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
gmpy2 relies on having gmp installed, which can be a hassle, especially is someone wants to implement this library in a stand-alone script to be run with Python3. I suggest using PyCryptodome for math functions related to cryptography (e.g. isPrime()). PyCryptodome will use either gmpy or gmpy2 if it is installed, but will run without it. For performance of long integer arithmetic, use the same strategy as PyCryptodome: use mpz if it is available but fallback on to the built in long type.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers