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.18.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.18-cp38-abi3-win_arm64.whl (7.8 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.18-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.18.tar.gz.

File metadata

  • Download URL: asherah-0.5.18.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.18.tar.gz
Algorithm Hash digest
SHA256 d9e8e97a84d196f5d8705452cb47fc79ff33ec4fb0598496df92767ec7e44aa5
MD5 a8319b062a3ad11dabc06b661e4a925e
BLAKE2b-256 51d562f45e93b4d1b3020ca11dd4c4d3ec5b73786a57eadbf051278710acc536

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.18-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.18-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 6281dfca26f46915fdcac41d16ae7052064aef99fad51831483fdc4564141ccd
MD5 618db90f4b06dc7379e20a2eb266b930
BLAKE2b-256 3150a5b1342bc5c0f276d06d382f37285d46f7bb168322a09905025a789353f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.18-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.18-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ffa08c654e09ad3d0a13b6418f7f8b6e51fbac89536eb76c4c424bde902d5a4e
MD5 a5d0fb5ccce678f7bb0c841512c514b9
BLAKE2b-256 ce9186dbe1a15c4f15615ab1db822019f1f2a06016a2e9b3b5b2c0389ddb7fa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.18-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2dc5458ac25d2ee9062c30699dc3488bfd6c8e9cdda5ef5a50e3c070582032df
MD5 a665cb60846a6b059593caad2912c798
BLAKE2b-256 8596ad01490fe34e4a62d6b5bf8bba76e7aab332af193263384662a79dd09f29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.18-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e49b8326b9306ee627c790545fcde9f21556d1fc3b7924aa71380b5de6707294
MD5 4e8fa49f9d282f3f1922146697db660c
BLAKE2b-256 2a068908dffc06c80c1ea229825ac886e9b486e8189e0e677c53dc03a05b12c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.18-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 495872e3db89efef2b1b8f144545f860ff627cd5a691223167324d9a78f5c05c
MD5 f7a0be3cc562067363e2176601939cbf
BLAKE2b-256 4be4ef53502f770868a0140122ba2dc8bce8c77b8cb195514b3423848b843d2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.18-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2c74b4b8d609b6c30f10a7842e0a6b616d5ee9f8895247a1379e7118a73953c6
MD5 d41043deab2799bc28783c4c232398f3
BLAKE2b-256 d73e668067aebf55fad58e13857dd7d50c348abb45ed0eab97e919a2d7ffe737

See more details on using hashes here.

File details

Details for the file asherah-0.5.18-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.18-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 9347e6c4aec2bca5489bdadf5b4ed3ae660dac543ee9203bac7b8349c51ed16b
MD5 ff0d44c7e193b76ecba6cdbf5d8114c9
BLAKE2b-256 69669296b153b968cd70032585f949dc6d461e57c371674e329521de12322a4b

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