Skip to main content

Python bindings for Asherah envelope encryption

Project description

asherah

Python bindings for the Asherah envelope encryption and key rotation library.

Prebuilt wheels are published to PyPI for Linux (x64/arm64, glibc and musl), macOS (universal2), and Windows (x64/arm64). Python 3.8+ is supported via stable ABI wheels.

Features

  • Session-based encrypt/decrypt API
  • Compatible with Go, Node.js, Ruby, Java, and .NET Asherah implementations
  • SQLite, MySQL, PostgreSQL, and DynamoDB metastore support
  • AWS KMS and static key management

Installation

pip install asherah

Quick start

import asherah

factory = asherah.SessionFactory()
session = factory.get_session("partition")

encrypted = session.encrypt_bytes(b"hello world")
decrypted = session.decrypt_bytes(encrypted)

factory.close()

License

Licensed under the Apache License, Version 2.0.

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

asherah-0.5.19.tar.gz (175.1 kB view details)

Uploaded Source

Built Distributions

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

asherah-0.5.19-cp38-abi3-win_arm64.whl (7.8 MB view details)

Uploaded CPython 3.8+Windows ARM64

asherah-0.5.19-cp38-abi3-win_amd64.whl (8.2 MB view details)

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.19-cp38-abi3-musllinux_1_2_x86_64.whl (13.1 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

asherah-0.5.19-cp38-abi3-musllinux_1_2_aarch64.whl (13.3 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.19-cp38-abi3-manylinux_2_28_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

asherah-0.5.19-cp38-abi3-manylinux_2_28_aarch64.whl (12.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.19-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (19.0 MB view details)

Uploaded CPython 3.8+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file asherah-0.5.19.tar.gz.

File metadata

  • Download URL: asherah-0.5.19.tar.gz
  • Upload date:
  • Size: 175.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for asherah-0.5.19.tar.gz
Algorithm Hash digest
SHA256 e46e32ee7dc716d743d36c0e735ce3586daae8ad9745d966569ef9fefa2dd058
MD5 42b7220b8f28fe3e86d7c01d633a2e6d
BLAKE2b-256 bab12a53992ddc7e00b3eace67128a8a8a1f3dda6ae73ec200bd0e458ff083e3

See more details on using hashes here.

File details

Details for the file asherah-0.5.19-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: asherah-0.5.19-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 7.8 MB
  • Tags: CPython 3.8+, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for asherah-0.5.19-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3c328581ede550574119b842f758ffa1182e08a0290b4421acfc0527deabe1be
MD5 8efdc934681e3d3fbdec6743e37f7d1d
BLAKE2b-256 5f2e3cf0aeb2232e144f645b7e4403da784f3255a23742891aac6118d3f0720d

See more details on using hashes here.

File details

Details for the file asherah-0.5.19-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: asherah-0.5.19-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 8.2 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for asherah-0.5.19-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5d56e4282d9ee13b668d0dbefc8542242b8f7f6d6fa6f054030d6b47b783f91a
MD5 fab2fb06671d67cb0148212312529176
BLAKE2b-256 7c3cb39051b92f926ad4f01b12e67a09b2989515b2c7723910e5a83d5ccd09d8

See more details on using hashes here.

File details

Details for the file asherah-0.5.19-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.19-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a2341bc16f8b7e6e2a7d35e13d19ba772c752154ae99a93324d3b048237f6038
MD5 6c6a3e85b3a48eddde39efe46834dec2
BLAKE2b-256 4a9ade1b14afec9aa5c9af22819b3c2003790166ce2fdb0040d95e9062d593b9

See more details on using hashes here.

File details

Details for the file asherah-0.5.19-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.19-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7b91f96c5fd17fba6c555f5f95ae2f89fb16f7a3499a55fb61022de8486dcd33
MD5 09f474afbe3c956a68ab287b2f064491
BLAKE2b-256 68f323bb102a85dfd0b2626f6032fe39295151c5c580628e044c07598cf3b6e1

See more details on using hashes here.

File details

Details for the file asherah-0.5.19-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for asherah-0.5.19-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7f066fdf0060fc1463f7507d425ce65711e2df078fcc2eef046a30b08b1464ca
MD5 4aa942091141eff91aa74bd833c47a90
BLAKE2b-256 1a5b8069aa4458c6bbf34a41bf566eda1d4402d3419474ab5cb2d1f0630c0c9e

See more details on using hashes here.

File details

Details for the file asherah-0.5.19-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for asherah-0.5.19-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 12fdc3b63dd9ee6bb4d126f034349bee3e5b1f66244ce8cbfd061d8fad1a0509
MD5 cf3a618c3391ad14619e26b5d51fe1ed
BLAKE2b-256 085204e1ea1e964955e87cc6a1c04a77c88cdd8245ff8aed9b760e91205bb279

See more details on using hashes here.

File details

Details for the file asherah-0.5.19-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for asherah-0.5.19-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 9eff3539067b7ed9d712357e0d137bdba079fe30323e8e08be12ef04aedd1d28
MD5 4c13a1345d30b69bdff1f7ffa8694f83
BLAKE2b-256 2ae783094b9350566630c0cc18aaed62aa6d932991ab312022c4ee1f67e615a8

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