Skip to main content

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

cryptoserve_core-0.2.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cryptoserve_core-0.2.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

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

Hashes for cryptoserve_core-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5473f955e853d1dcb8a271cde919522d836ca0d10b618a22bde4044be15371ee
MD5 c5ddb044c7b98d57427d26629e9766a3
BLAKE2b-256 379f1314e7d3ee4d2a85a778bb7ab3799e4780fd10ad6d9ba20b4ea0889de887

See more details on using hashes here.

File details

Details for the file cryptoserve_core-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cryptoserve_core-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ae756a19b74b56a12153cf031d961dc5e96956312d71e17ed5918b8ac0f61a8
MD5 622df6d2ddf541c94704e7d713aa5937
BLAKE2b-256 ff3cf70a941564be5b94f91f62d5a9b0501e2ddd5eb8dbd5c423b0ed1c169ca2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page