Elliptic curve crypto in python including sm2, secp256k1, alt_bn128, and bls12_381.
pip install .
test/hash2curve.py
test/hash2curve.py
机器 | MacBook Pro : 2 GHz 四核Intel Core i5 16GB |
---|---|
hash2curve次数 | 平均2次 |
hash2curve速度 | 0.2ms/次 |
点乘速度 | 0.4ms/次 |
点除速度 | 2.6ms/次 |