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.6.tar.gz (197.2 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.6-cp38-abi3-win_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8+Windows ARM64

asherah-0.5.6-cp38-abi3-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.6-cp38-abi3-musllinux_1_2_x86_64.whl (8.6 MB view details)

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

asherah-0.5.6-cp38-abi3-musllinux_1_2_aarch64.whl (8.5 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.6-cp38-abi3-manylinux_2_28_x86_64.whl (8.4 MB view details)

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

asherah-0.5.6-cp38-abi3-manylinux_2_28_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.6-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (15.1 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.6.tar.gz.

File metadata

  • Download URL: asherah-0.5.6.tar.gz
  • Upload date:
  • Size: 197.2 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.6.tar.gz
Algorithm Hash digest
SHA256 30400de4c7b061a739f35037d71b6eea1bea4d11c093f8344b04ee8e1a0b0f87
MD5 1fa27ecf435ad8caace57726c6168c18
BLAKE2b-256 cf484b174ddde6ffd294c96b07d02bf52f03ea04c6d263c43dbe8743a7061b99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.6-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 6.2 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.6-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 4208fe5d5ca99e87ffa5d51e318647fc043af91c89666b28871b895f32cac2d3
MD5 23109dd5a319515d0240afa55656b06f
BLAKE2b-256 cac4f9b354c92188a3c08d4b9de56f9afb1df11c15153e27a63271067a611897

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.6-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 6.4 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.6-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7cbc2ef055945e6519043aea3f4d6010aa48a0889e16b25071b73916996d9a6a
MD5 7664dfcae92ac0375765521c60789be9
BLAKE2b-256 77eddfa67aeff1198e1c00fc7bedce713088d1fb3ef1a87e8503a159f4bb827e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.6-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b63812c5a34e9766c27c505130bd5a6857c632aad14f13aa33bb27c8d5e68aa0
MD5 277e51399bc05eca98944c5e40e49c14
BLAKE2b-256 6f9526d64b692b457d376f5d7f3cf5b5560d9abb9918dd33cd2f12f6ee58da9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.6-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0ae189b39fefe7c2a2da3a532c8ca1c17e1a298d1cb69b76640402fd439a4e7e
MD5 89aa1be8fecef4b0d62616d700ac408c
BLAKE2b-256 ff72999583c982838233dbe0ac136e91087febc59c1de27ca56aaacac0f55f00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.6-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 215cabd8f01a572ec932d3fc024066de7f3fc857000857908eef5f1cd4bced67
MD5 5b20a60454b9e1d8f1125808f79652f0
BLAKE2b-256 68ebe900c3c7706841208ff42c21ecff347fe34218513846b8a800451aec774b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.6-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 46a611252c17b12419aef74d4d0f7ed6d65a9e3a43eb9f614997965f76db8223
MD5 48ae2c008f541dd0f99ffe189beb746e
BLAKE2b-256 78361e914bdb310a6b1b23d80f20926fd203c3831f42866bc7d94182f21aea41

See more details on using hashes here.

File details

Details for the file asherah-0.5.6-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.6-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 892f2d493e8f004f8b997bafef66d7f578f4661aea9e0d9b649088818380e385
MD5 4fda66e4dd73468f2235f85929205115
BLAKE2b-256 ddc47abf917d44437ab11671bc178be4c73a74e6c00c7b40cf995adb00928eaa

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