mcl-python
mcl-python is a Python library that creates bindings for mcl library by 光成滋生 MITSUNARI Shigeo(herumi@nifty.com).
Supported curves
For now the only supported curve is BLS12_384 (named in library BN384_256)
Installation
This package requires mcl to be preinstalled.
Use the package manager pip to install mcl-python.
pip install mcl
Usage
import mcl
fr = new mcl.Fr()
fr.setByCSPRNG()
For more examples, please check tests.
Tests
Tests are written in unittest.
python3 -m unittest discover tests/
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Metadata
Release files for mcl 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcl-0.0.6.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcl-0.0.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / mcl-0.0.6.tar.gz
| Download URL | mcl-0.0.6.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db4674d768dc8af692b6422a237c6756a27f289446d03f04650170a80bee8f29
|
|
BLAKE2b-256 checksum How to use checksums |
25132021c724b8cf8aa1a950240aeb7764d1872231eb816c2f29a24584604b05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / mcl-0.0.6-py2.py3-none-any.whl
| Download URL | mcl-0.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c6ff6ef68c13efb949668c8e35910bb4b1b0429783b586cb3f009e67848febde
|
|
BLAKE2b-256 checksum How to use checksums |
1ab64a81f0339222eb8637e34aa79b69b9ddfeed690a0c84de9a6d4377d959b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|