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.23.tar.gz (176.0 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.23-cp38-abi3-win_arm64.whl (7.9 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.23-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.23-cp38-abi3-musllinux_1_2_aarch64.whl (13.3 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.23-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.23-cp38-abi3-manylinux_2_28_aarch64.whl (12.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.23-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.23.tar.gz.

File metadata

  • Download URL: asherah-0.5.23.tar.gz
  • Upload date:
  • Size: 176.0 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.23.tar.gz
Algorithm Hash digest
SHA256 57afe82974fc7c720d2b6db1c0d17fccff7ac9bde99f3709c24240e3456f3b20
MD5 b985e7d04f523422f7001a3e88915c46
BLAKE2b-256 2a7806e4eb54a8b0f5471b3737a2831b92a793ae0045b30de57c7ccd0e751a2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.23-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 7.9 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.23-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 dfc15197941ae559be12bd053d75c0d1ed285a27777f44247303337e78409d80
MD5 29c6306e8df980252a4a712e36e95cb7
BLAKE2b-256 89ffe2f48cc454202dd70bdb5f0e3d15722f40e9a30adb1a488fad4713eac5a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.23-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.23-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 35faea91467445c0b066beacce820d24d470262801436e91ea4f28cce298cffb
MD5 9aa82924be8c4e29d3f076878e5a38c0
BLAKE2b-256 581af26cab4ef9ddc55e8bdc128e290c250cd993ddfa11f1446b9a4ef2137d03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.23-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 80330a6b1752794ef79e3cce794f5bbdd99ba61a1b390c253c2c995d818a7438
MD5 24d132eb656d70b5dd657baf8aeb1d2a
BLAKE2b-256 402e17f6c0631abe686af52bae7b032a228b5ab11992a0a20061c0b74a52e17a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.23-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8ba63d541f171f94da65c8d95260b1353a868f4c7700cbaaff77103bca84659d
MD5 29da3a4131b6d7541891696afbb9616b
BLAKE2b-256 1d31d30f06a3122a83c623fca88f5ae39e387859f3d5d26e444993114650e4d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.23-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bfc1fdc49fad074a7a3ba2cdddee2012da9356226644bb269b32d75b787095eb
MD5 69858332869656f8fd347cfdc83a4a8b
BLAKE2b-256 74505c788d48354f7eeb6bc70b0226affe7ef12fbd52ebda48a531165042c998

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.23-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7da49a5a9f43cf29a8017e1f6945e3ad35de6c959b3fca8177f0169674b616bd
MD5 e66ee1fde0d34e9c7774642be13addec
BLAKE2b-256 3ebf8fb4b6ea51c699ad0fc38ab5f8ceb6797e77b8278affad29acaa41b770ac

See more details on using hashes here.

File details

Details for the file asherah-0.5.23-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.23-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 67f0c849ca528b31bf01d46af38f2bdf035cb7f4e926d3f67cd9c1ea1b5865a6
MD5 4fccd66dadfb49c3cbc9a4a14bd00d19
BLAKE2b-256 fdd644df3f2cc7d12f7157b1440022f35f98e516bd32d3a5ac748dbb999020d0

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