Skip to main content

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


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)

Uploaded Source

Built Distribution

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

deml_crypto-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

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

Hashes for deml_crypto-0.1.0.tar.gz
Algorithm Hash digest
SHA256 15250ed0150a6921c9b033bc479198bcac9e25eab6aaf209901c5bbbd5e4ba63
MD5 7e0a0057b1ff7b083e847c5390832410
BLAKE2b-256 00ff8b2bf07a422a26a56fefbd9ac3880557ad6dd73abfe1b99aaa61e478af04

See more details on using hashes here.

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

Hashes for deml_crypto-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af15715ba8a82e5f52d5a5f46536922c6f6b1466aefdab64a5a0bc701cf5974a
MD5 0c4e73287664457042862bcbdc53dcda
BLAKE2b-256 447a533db88cae2c15a1687e3735c70bb86d45354c5720577f09480b4f2e81d1

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