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, tag = cipher.encrypt(b"sensitive data")
plaintext = cipher.decrypt(ciphertext, nonce, tag)

# 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.1.0.tar.gz (8.8 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.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file cryptoserve_core-0.1.0.tar.gz.

File metadata

  • Download URL: cryptoserve_core-0.1.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for cryptoserve_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e64bed1328cfd16912de97edb477424dcbfe1ae3b0585668dfe0f0290480da81
MD5 1608fd2084a60b9805b95c77089061be
BLAKE2b-256 fd7e610e4002f201306729814edfbc3205b400912a7c5fb99d8d39ba9d29f196

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cryptoserve_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b7b147b303e3a160e9f05e0ce839e2a466ea5cae50fc07f951ddbe91c18b1f1
MD5 2070cdaef5eda6e7706fd617af37ae55
BLAKE2b-256 0eaec1443bfcb7673f03a686b0bb71925e2a6ea844f9d0e5d8b3b1f466f7e07e

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