Metadata-Version: 2.4
Name: cryptoserve-core
Version: 0.1.0
Summary: CryptoServe Core - Pure cryptographic primitives
Author-email: CryptoServe <hello@cryptoserve.dev>
License: Apache-2.0
Project-URL: Homepage, https://github.com/ecolibria/crypto-serve
Project-URL: Documentation, https://docs.cryptoserve.dev
Project-URL: Repository, https://github.com/ecolibria/crypto-serve
Keywords: cryptography,encryption,security,aes,chacha20
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: cryptography>=41.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Dynamic: license-file

# cryptoserve-core

Pure cryptographic primitives for CryptoServe. Zero network dependencies.

## Installation

```bash
pip install cryptoserve-core
```

## Usage

```python
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
