Skip to main content

Native Python implementation of Ed25519 field elements and operations.

Project description

Native Python implementation of Ed25519 field elements and operations.

PyPI version and link. travis coveralls

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

All unit tests are executed and their coverage is measured when using nose (see setup.cfg for configution details):

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fe25519-0.1.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

fe25519-0.1.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file fe25519-0.1.1.tar.gz.

File metadata

  • Download URL: fe25519-0.1.1.tar.gz
  • Upload date:
  • Size: 7.6 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

Hashes for fe25519-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f15378966cc8d51233be27222523e46f05b836a20513c2617b205c103146679b
MD5 9b6f34f140ba06d106196404a76f3fdd
BLAKE2b-256 94e4d3dd80ce53b26cdaa9bd5a34bc6f9028c1b7bfb2607074868bc35edc3643

See more details on using hashes here.

File details

Details for the file fe25519-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fe25519-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 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

Hashes for fe25519-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88d65b053a2e4fd9ac6624a4df11b91088335712e8664857ca81f6380b23d576
MD5 7a3eb3c5af6f2920b7a0f700f4409fa6
BLAKE2b-256 e6266af77beb80837ef4832be45603bd4437f7e1e8eaa6bad2d0e297a2b0520b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page