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.10.tar.gz (201.6 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.10-cp38-abi3-win_arm64.whl (7.8 MB view details)

Uploaded CPython 3.8+Windows ARM64

asherah-0.5.10-cp38-abi3-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.10-cp38-abi3-musllinux_1_2_x86_64.whl (13.0 MB view details)

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

asherah-0.5.10-cp38-abi3-musllinux_1_2_aarch64.whl (13.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.10-cp38-abi3-manylinux_2_28_x86_64.whl (12.1 MB view details)

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

asherah-0.5.10-cp38-abi3-manylinux_2_28_aarch64.whl (12.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.10-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (18.8 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.10.tar.gz.

File metadata

  • Download URL: asherah-0.5.10.tar.gz
  • Upload date:
  • Size: 201.6 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.10.tar.gz
Algorithm Hash digest
SHA256 59b4d73385c3549671677166702dd702c98109615db74d5bdedd1d0c1c983229
MD5 1f8601d5032b971a255dc28892c0fab6
BLAKE2b-256 8ec02ea5fe824ad9373267fea1da315fb79a4e918b694790941f607fcdbca17e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.10-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.10-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 22a83b4575d8b9ac06d0ed573afd981a73e7ab2d19ff62db86d3856f1499846b
MD5 28b9278f2fc6ae78d7bfba2c71e85d7f
BLAKE2b-256 766ce9a422e83e8d0ca922b13c094a280e47efd6090054d246188e471ddc546b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.10-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 8.1 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.10-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f6f113ca86b2dc448cd6db18f3ef8ce27d7a01322c2f8b80e03cd4675f2969ae
MD5 176a7ab519740afd1d02f69bd65d356b
BLAKE2b-256 fae8cda6e17b170145c8a8c20506999ce5b48ad974a9bf0bc3b3676aaffef755

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.10-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4e487e4b50fd0419749210569220f5e17497c102a2dae4b8ff2e6a91b04df9d5
MD5 238652346444dab2beb8087ed60a2679
BLAKE2b-256 e5b825e9aedb91a20ab6b57acb386c416f8b105d387986423eca2b21cfe5624b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.10-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3c4b26c38d46ff2f9eab9506b311995f7b1b95bdfcf11aaab2803885061a877c
MD5 1c85118f854d3fb159c622ed09eb61bc
BLAKE2b-256 b5fd07716890b18e3c639eda248c074f5dc6e9353648b729a0afd158253b1ae2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.10-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3a387c6f3117440d2ea4ad3036f8fe5072de109bfe6ec7b17b4421a07b2310a1
MD5 5b0b0e0a4535d680059fc65fb99b076f
BLAKE2b-256 06040697220070a9fac895a71e836f442f36f08f74d8c6d1bee5f1c02e2595d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.10-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 001d842e6b22d33b2373141b22dde624b47b1a2458d21dfabdd91fa7eb9d2e6a
MD5 188e4f2ad90feb707dca8405e0dd3981
BLAKE2b-256 b8f84b165510364f811ac92ce22f71cfffc51d54d38717ecb40d3c7e0dcda571

See more details on using hashes here.

File details

Details for the file asherah-0.5.10-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.10-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 f0eda44f4a816f72253995ffbf8fb28554c95bd6da22a6e71d5c12e314306d6a
MD5 53efe9c1197549d2042845cb75fddef2
BLAKE2b-256 6e1cd78cc74a452bd58ac3ca660e206acb8bf843a4e047124393075b33b8822a

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