Fast python implementation for bitcoin curve
Project description
fast-curve
ctypes
implementation for bitcoin curve secp256k1
. It is 100 times faster than pure python implementation and may be even faster if used in lower level development languages.
Dependencies
Ubuntu
sudo apt-get install python3-dev libgmp3-dev libgmp3
Windows
Download Msys2 and install
it into C:\Msys
folder, run MSYS2
and execute:
pacman -Syu
Download libgmp archive and extract it into C:\Msys\home\{USER}
folder. Then, runing MSYS2 from libgmp root folder execute:
./condigure
make
make check
make install
Use C:\Msys\mingw64\python.exe
to run install command. The built package
can be moved into any python 3.x distribution path.
install command
python -m pip install git+https://github.com/Moustikitos/fast-curve.git
For Windows users, a built package is available
here.
Exctract content anywhere in python path defined by sys.path
.
Versions
1.1.2
- typing update
1.1.1
- exclusive use of
hash_sha256_s
inschnorr.c
1.0.6
- bugfix in
bcrypto410_*
schnorr signature
1.0.5
- minor C code tweaks
- minor
setup.py
module tweaks
1.0.4
- C code improvement
- code coverage improvement
- pydoc-markdown documentation added
1.0.3
- ecdsa signature support
- bcrypto 4.10 schnorr signature support
- BIP0340 sipa shnorr signatures support
Support this project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cSecp256k1-1.1.2.tar.gz
.
File metadata
- Download URL: cSecp256k1-1.1.2.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e45c949a9a3cb99d57ad64fbd4d1f09b67f5dc4abf6f6ee71e36f360a32c5b |
|
MD5 | aeb9d753e1a985ff7c7930f8d1e13a51 |
|
BLAKE2b-256 | ccc41e06dc354bb20a7be8e4f4b525e38d89eacb6046c901e5bbe4beb6a8a78b |