CryptoServe Core - Pure cryptographic primitives
Project description
cryptoserve-core
Pure cryptographic primitives for CryptoServe. Zero network dependencies.
Installation
pip install cryptoserve-core
Usage
from cryptoserve_core import AESGCMCipher, ChaCha20Cipher, KeyDerivation
# Generate a key
key = KeyDerivation.generate_key(256)
# AES-256-GCM encryption
cipher = AESGCMCipher(key)
ciphertext, nonce = cipher.encrypt(b"sensitive data")
plaintext = cipher.decrypt(ciphertext, nonce)
# ChaCha20-Poly1305 encryption
cipher = ChaCha20Cipher(key)
ciphertext, nonce = cipher.encrypt(b"sensitive data")
plaintext = cipher.decrypt(ciphertext, nonce)
Supported Algorithms
| Algorithm | Security | Use Case |
|---|---|---|
| AES-256-GCM | 256-bit | General purpose, hardware accelerated |
| ChaCha20-Poly1305 | 256-bit | Mobile, real-time applications |
Why cryptoserve-core?
- Zero network dependencies - Works entirely offline
- Pure Python + cryptography - No custom C extensions
- Auditable - Small, focused codebase
- Standards compliant - NIST-approved algorithms
License
Apache 2.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
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 cryptoserve_core-0.2.0.tar.gz.
File metadata
- Download URL: cryptoserve_core-0.2.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5473f955e853d1dcb8a271cde919522d836ca0d10b618a22bde4044be15371ee
|
|
| MD5 |
c5ddb044c7b98d57427d26629e9766a3
|
|
| BLAKE2b-256 |
379f1314e7d3ee4d2a85a778bb7ab3799e4780fd10ad6d9ba20b4ea0889de887
|
File details
Details for the file cryptoserve_core-0.2.0-py3-none-any.whl.
File metadata
- Download URL: cryptoserve_core-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ae756a19b74b56a12153cf031d961dc5e96956312d71e17ed5918b8ac0f61a8
|
|
| MD5 |
622df6d2ddf541c94704e7d713aa5937
|
|
| BLAKE2b-256 |
ff3cf70a941564be5b94f91f62d5a9b0501e2ddd5eb8dbd5c423b0ed1c169ca2
|