x25519
A pure Python implemention of curve25519
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2021-10-24, no maintenance since), and the author explicitly recommends C implementations like pysodium for actual use. Install only if you need pure Python for educational purposes or an environment where compiled dependencies are impossible; otherwise, use a maintained cryptographic library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is frictionless (pure Python wheel, no dependencies), but the package has been abandoned since its only release on 2021-10-24 with no subsequent maintenance or updates.
License · maintenance · safety
permissive license (permissive) — Public domain dedication means no license restrictions apply; you may use, modify, and distribute freely without attribution or other obligations.
last release 2021-10-24 (1755 days) · last repo commit 2021-10-24 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 301,973 downloads/mo, #7,828 on PyPI
Alternatives
Verify before relying
from binascii import hexlify
import x25519
private_key = b'1' * 32
public_key = x25519.scalar_base_mult(private_key)
print(hexlify(public_key))- Whether the pure Python implementation is cryptographically constant-time and resistant to side-channel attacks.
- Performance characteristics compared to C-based alternatives like pysodium for production use.
- Whether Python 2 support claim remains valid or if Python 3 only is now required.
What it is and what it does
x25519 is a pure Python implementation of the curve25519 elliptic curve cryptography operations, providing scalar multiplication functions for key exchange. It exposes two main operations: scalar_base_mult() to derive a public key from a private key, and scalar_mult() to compute a shared secret from a private key and peer's public key. Both functions work with 32-byte binary inputs and outputs.
The package has no runtime dependencies and installs as a pure Python wheel, making it portable across platforms. However, it is explicitly slower than C-based implementations like pysodium, as noted in its own documentation. The project has been inactive since its single release in October 2021 and is no longer maintained.
Use it for
- Educational exploration of curve25519 cryptography without compiled dependencies.
- Prototyping key exchange protocols in environments where C libraries cannot be compiled.
- Implementing ECDH in pure-Python environments where pysodium or libsodium are unavailable.
- Testing or auditing curve25519 behavior against reference implementations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2021-10-24, no maintenance since), and the author explicitly recommends C implementations like pysodium for actual use. Install only if you need pure Python for educational purposes or an environment where compiled dependencies are impossible; otherwise, use a maintained cryptographic library.
Install
x25519 on PyPI
Before you install
Installation is frictionless (pure Python wheel, no dependencies), but the package has been abandoned since its only release on 2021-10-24 with no subsequent maintenance or updates.
License in practice
Public domain dedication means no license restrictions apply; you may use, modify, and distribute freely without attribution or other obligations.
Quickstart
from binascii import hexlify
import x25519
private_key = b'1' * 32
public_key = x25519.scalar_base_mult(private_key)
print(hexlify(public_key))
Verify before relying
- Whether the pure Python implementation is cryptographically constant-time and resistant to side-channel attacks.
- Performance characteristics compared to C-based alternatives like pysodium for production use.
- Whether Python 2 support claim remains valid or if Python 3 only is now required.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,755 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 301,973 / month, #7,828 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: Public DomainOperating System :: OS IndependentProgramming Language :: Python |
Evidence: x25519-0.0.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “curve25519 python implementation”
- x25519Provides pure Python implementations of curve25519 scalar…
- pure25519Pure-Python implementation of Curve25519 and Ed25519 cryptographic…
- noiseprotocolImplements the Noise Protocol Framework for Python 3, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also eciespy · eth-keys · pure25519 · starkbank-ecdsa · fastecdsa · diffiehellmanlib · sslcrypto · py-sr25519-bindings · py-ecc · py_arkworks_bls12381