AES-256-GCM + GCP KMS envelope encryption with DEK rotation for DEML Platform
Project description
DEML Crypto
AES-256-GCM + GCP KMS envelope encryption with DEK rotation.
Installation
pip install deml-crypto
# With GCP KMS support:
pip install deml-crypto[gcp]
Usage
from deml_crypto import encrypt, decrypt, generate_key
# Encrypt data
encrypted_data, encrypted_dek = encrypt(b"my secret data")
# Decrypt data
decrypted = decrypt(encrypted_data, encrypted_dek)
Features
- Envelope encryption with GCP KMS or local KEK
- Automatic key rotation support
- UUID-scoped tenant encryption compatible
- No pickle serialization (safe for security-critical contexts)
License
MIT
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
deml_crypto-0.1.0.tar.gz
(4.3 kB
view details)
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 deml_crypto-0.1.0.tar.gz.
File metadata
- Download URL: deml_crypto-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15250ed0150a6921c9b033bc479198bcac9e25eab6aaf209901c5bbbd5e4ba63
|
|
| MD5 |
7e0a0057b1ff7b083e847c5390832410
|
|
| BLAKE2b-256 |
00ff8b2bf07a422a26a56fefbd9ac3880557ad6dd73abfe1b99aaa61e478af04
|
File details
Details for the file deml_crypto-0.1.0-py3-none-any.whl.
File metadata
- Download URL: deml_crypto-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af15715ba8a82e5f52d5a5f46536922c6f6b1466aefdab64a5a0bc701cf5974a
|
|
| MD5 |
0c4e73287664457042862bcbdc53dcda
|
|
| BLAKE2b-256 |
447a533db88cae2c15a1687e3735c70bb86d45354c5720577f09480b4f2e81d1
|