Eclyptic Asymmetric Encryption: Minimal ECIES-style encryption with elliptic curves.
Project description
Eclyptic Asymmetric Encryption
Version: 1.2.0 License: LICENSE Developer: jts.gg/eclyptic
Eclyptic is a lightweight Python library that implements a streamlined ECIES‑style encryption scheme utilizing:
- Elliptic‑Curve Diffie‑Hellman (ECDH) for key agreement
- HKDF‑SHA256 for symmetric key derivation
- AES‑GCM for authenticated encryption
- Compressed ECC public keys with compact Base64 URL-safe encoding (no padding)
Designed for ease of use, forward secrecy, and efficiency with arbitrary binary and text payloads.
Installation
# install from PyPI
pip3 install eclyptic
Quick Start
import eclyptic
# generate a compact base64-encoded keypair
priv, pub = eclyptic.keypair()
# encrypt data (bytes or UTF-8 string)
data = "secret data"
encrypted_data = eclyptic.encrypt(pub, data)
# decrypt back into raw bytes or UTF-8 text
decrypted_bytes = eclyptic.decrypt(priv, encrypted_data)
plaintext = decrypted_bytes.decode('utf-8')
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eclyptic-1.2.0.tar.gz.
File metadata
- Download URL: eclyptic-1.2.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74681fc8df5306ad15ef743ccd34fe46e46f46f89b621d7ef25b128fc11d2404
|
|
| MD5 |
614b682c9549f864cd3f4dd20cc310ec
|
|
| BLAKE2b-256 |
7bd938c35cb4a48d348ce38c247de9cd68325e0178a0003fc3e9eae800edad87
|
File details
Details for the file eclyptic-1.2.0-py3-none-any.whl.
File metadata
- Download URL: eclyptic-1.2.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57bb86a4bd003d7d67684d6089ce6d09b902d9c3abbb46a6ce3bc500b0461ddc
|
|
| MD5 |
8fe252e8a950b9e34779d5c9edd013ac
|
|
| BLAKE2b-256 |
07911344b00aa76ba2188dd016d3c3d85c1b44320dbb61ff5cd1d6a6d6150ff8
|