Post-quantum cryptography library with built-in plausible deniability.
Project description
Pycryptox
Post-quantum cryptography library for Python.
Four protocols, one goal: protect your data against today's threats and tomorrow's quantum computers.
| Protocol | What it does |
|---|---|
| PURPLE | Encrypt with a password |
| BLUE | Encrypt with asymmetric keys + plausible deniability |
| RED | Encrypt with a threshold (t-of-n) |
| YELLOW | Steganography (coming soon) |
import pycryptox as crx
keys = crx.blue.genkeys("1")
bundle = crx.blue.encrypt("1", keys["gpubkey"], xmsg="real", ymsg="decoy")
crx.blue.decrypt("1", keys["xprivkey"], bundle) # → "real"
crx.blue.decrypt("1", keys["yprivkey"], bundle) # → "decoy"
Documentation
Tests
🧪 Test suite — 162 tests covering all protocols and keystores.
cd pycryptox/tests
python run_all.py
Credits
©️See CREDITS.md
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 pycryptox-1.0.0.tar.gz.
File metadata
- Download URL: pycryptox-1.0.0.tar.gz
- Upload date:
- Size: 63.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c707ed8963dd83c8b428397639c8e0a914b782ae2402bdf0585aa11a914bbc6
|
|
| MD5 |
df6dfa948a0a2b1d26e6549544091353
|
|
| BLAKE2b-256 |
81607bcba359f3729ac765ccf401f9c6d78709e59f8ee93f6e5823044610b25c
|
File details
Details for the file pycryptox-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pycryptox-1.0.0-py3-none-any.whl
- Upload date:
- Size: 73.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a494f4c479a50b02c10f73dd46713f74d49677be7ce9764969dc1fe214e9864
|
|
| MD5 |
100656dabb47b71bfe80952f11eb61b4
|
|
| BLAKE2b-256 |
ab2325decba344b3f3d469d829e1546dce232fa396a60fecc70b48167918d3ef
|