Native Python implementation of Ed25519 field elements and operations.
Project description
Native Python implementation of Ed25519 field elements and operations.
Purpose
This library provides a native Python implementation of Ed25519 field elements and a number of operations over them. The library makes it possible to fill gaps in prototype applications that may have specific limitations with respect to their operating environment or their ability to rely on dependencies.
The implementation is based upon and is compatible with the corresponding implementation of Ed25519 field elements used in libsodium.
Package Installation and Usage
The package is available on PyPI:
python -m pip install fe25519
The library can be imported in the usual ways:
import fe25519 from fe25519 import fe25519
Testing and Conventions
Unit tests can be executed using nose:
nosetests
Concise unit tests are implemented with the help of fountains and new reference bit lists for these tests can be generated in the following way:
python test/test_fe25519.py
Style conventions are enforced using Pylint:
pylint fe25519
Contributions
In order to contribute to the source code, open an issue or submit a pull request on the GitHub page for this library.
Versioning
Beginning with version 0.1.0, the version number format for this library and the changes to the library associated with version number increments conform with Semantic Versioning 2.0.0.
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
Built Distribution
File details
Details for the file fe25519-0.1.0.tar.gz
.
File metadata
- Download URL: fe25519-0.1.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 590dc48fc869b46202b2345e24dc07ff06f0c3abc3a03e9d6dd231642a8c558e |
|
MD5 | 02bebea76377b98f05d15db2465721e2 |
|
BLAKE2b-256 | e9e38b9afe1d5022e6ac9f89a7acc7fca1b7cf300808ac2bc0b6244e7a71509c |
File details
Details for the file fe25519-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: fe25519-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dab3860848cfebae5bd95d085b97c379d5cc8aa1d242af08350f9d55c30b0ce |
|
MD5 | 9189c149856eef71d8ad04fc5172f25e |
|
BLAKE2b-256 | cde09870d44fd4a03b3c013c8e77325639fef5e3e0801dcbbd61f465aa38b177 |