Server IP : 51.89.169.208 / Your IP : 3.129.206.232 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/usr/share/doc/python3-cryptography/docs/development/custom-vectors/ |
Upload File : |
SECP256K1 vector creation ========================= This page documents the code that was used to generate the SECP256K1 elliptic curve test vectors as well as code used to verify them against another implementation. Creation -------- The vectors are generated using a `pure Python ecdsa`_ implementation. The test messages and combinations of algorithms are derived from the NIST vector data. .. literalinclude:: /development/custom-vectors/secp256k1/generate_secp256k1.py Download link: :download:`generate_secp256k1.py </development/custom-vectors/secp256k1/generate_secp256k1.py>` Verification ------------ ``cryptography`` was modified to support the SECP256K1 curve. Then the following python script was run to generate the vector files. .. literalinclude:: /development/custom-vectors/secp256k1/verify_secp256k1.py Download link: :download:`verify_secp256k1.py </development/custom-vectors/secp256k1/verify_secp256k1.py>` .. _`pure Python ecdsa`: https://pypi.org/project/ecdsa/