crypto-cpp-py
This is a packaged crypto-cpp program
What it is and what it does
crypto-cpp-py wraps the crypto-cpp C++ library to expose cryptographic hashing and message signing operations for StarkNet applications in Python. It depends on ecdsa and sympy for elliptic-curve mathematics, plus pywin32 on Windows. The package is distributed as precompiled wheels for Python 3.10+ across a wide range of architectures (x86_64, ARM, PowerPC, s390x, RISC-V) and operating systems, minimizing build friction for most users.
The library is actively maintained and has received recent updates (version 2.0.0 released 2026-04-03) that dropped support for older Python versions and legacy 32-bit architectures. It carries no known security vulnerabilities. However, the unclear license status and minimal community engagement (3 repository stars) mean you should verify licensing terms and community support before adopting it in production.
Use it for:
- Signing and hashing StarkNet transactions or messages within a Python application.
- Building StarkNet wallet or smart-contract interaction libraries that require cryptographic operations.
- Integrating ECDSA-based message authentication into StarkNet-compatible dApps.
- Performing elliptic-curve cryptography operations where sympy and ecdsa alone are insufficient.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides hashing and signing operations for StarkNet messages via a Python wrapper around the crypto-cpp C++ library.
Yes, if you are building for StarkNet and need native cryptographic operations in Python. The package is actively maintained, has no known vulnerabilities, and offers broad platform support via precompiled wheels. However, verify the license terms before use, and be aware that the small community footprint (3 stars) means limited third-party documentation or troubleshooting resources.
Install
crypto-cpp-py on PyPI
pip
pip install crypto-cpp-pyuv
uv add crypto-cpp-pypoetry
poetry add crypto-cpp-pyInstalling crypto-cpp-py
Before you install
Medium install friction due to compiled wheels across many architectures; requires Python 3.10 or later. Actively maintained with recent release (2026-04-03) and no known vulnerabilities. Repository has low star count (3) suggesting limited community visibility.
License in practice
License status is unclear—no SPDX identifier or raw license text provided. Verify the license terms before using in proprietary or GPL-sensitive contexts.
Quickstart
pip install crypto-cpp-py
from crypto_cpp_py import hash_message, sign_message
hashed = hash_message(b'example')
signature = sign_message(hashed, private_key)
Requires Python 3.10 or later; on Windows, pywin32 is an additional runtime dependency.
Verify before relying
- What specific cryptographic algorithms (hash functions, signature schemes) are supported beyond ECDSA?
- Are there performance benchmarks or throughput expectations for hashing and signing operations?
- What is the license under which crypto-cpp-py is distributed?
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 3 — ecdsa, sympy, pywin32 |
| Maintenance | actively maintained — 133 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 117,163/month — #12,176 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: crypto_cpp_py-2.0.0-cp310-cp310-macosx_12_0_universal2.whl; crypto_cpp_py-2.0.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; crypto_cpp_py-2.0.0-cp310-cp310-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl; crypto_cpp_py-2.0.0-cp310-cp310-manylinux_2_24_s390x.manylinux_2_28_s390x.whl; crypto_cpp_py-2.0.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; crypto_cpp_py-2.0.0-cp310-cp310-manylinux_2_39_riscv64.whl; crypto_cpp_py-2.0.0-cp310-cp310-musllinux_1_2_aarch64.whl; crypto_cpp_py-2.0.0-cp310-cp310-musllinux_1_2_ppc64le.whl; crypto_cpp_py-2.0.0-cp310-cp310-musllinux_1_2_riscv64.whl; crypto_cpp_py-2.0.0-cp310-cp310-musllinux_1_2_s390x.whl; crypto_cpp_py-2.0.0-cp310-cp310-musllinux_1_2_x86_64.whl; crypto_cpp_py-2.0.0-cp310-cp310-win32.whl; crypto_cpp_py-2.0.0-cp310-cp310-win_amd64.whl; crypto_cpp_py-2.0.0-cp311-cp311-macosx_12_0_universal2.whl; crypto_cpp_py-2.0.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; crypto_cpp_py-2.0.0-cp311-cp311-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl; crypto_cpp_py-2.0.0-cp311-cp311-manylinux_2_24_s390x.manylinux_2_28_s390x.whl; crypto_cpp_py-2.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; crypto_cpp_py-2.0.0-cp311-cp311-manylinux_2_39_riscv64.whl; crypto_cpp_py-2.0.0-cp311-cp311-musllinux_1_2_aarch64.whl
Tags
More Cryptography packages
Certifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
cryptographycryptography provides cryptographic recipes and…
permissive · top 100 on PyPI
rsaPure-Python RSA encryption, decryption,…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
azure-identityProvides Microsoft Entra ID token-based…
unclear · top 1,000 on PyPI
PyNaClPyNaCl provides Python bindings to libsodium…
permissive · top 1,000 on PyPI
ECPyECPy is a pure Python elliptic curve library…
permissive · top 15,000 on PyPI
poseidon-pyPoseidon hash implementation in Python with a…
unclear · top 15,000 on PyPI
fastecdsaProvides fast elliptic curve digital signature…
permissive · top 15,000 on PyPI
py-eccImplements elliptic curve cryptography…
permissive · top 5,000 on PyPI
coincurvecoincurve provides Python bindings to…
permissive · top 5,000 on PyPI
sslcryptoProvides AES, ECIES, and ECDSA cryptographic…
unclear · top 15,000 on PyPI
starkbank-ecdsaPure Python ECDSA implementation supporting…
permissive · top 5,000 on PyPI
eciespyEncrypts and decrypts data using Elliptic Curve…
permissive · top 15,000 on PyPI
PGPy13PGPy13 is a Python library for OpenPGP…
permissive · top 15,000 on PyPI
PGPyPGPy implements OpenPGP (RFC 4880) in pure…
permissive · top 5,000 on PyPI