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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.14-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.14-cp38-abi3-musllinux_1_2_aarch64.whl (13.2 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.14-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.14-cp38-abi3-manylinux_2_28_aarch64.whl (12.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.14-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.14.tar.gz.

File metadata

  • Download URL: asherah-0.5.14.tar.gz
  • Upload date:
  • Size: 173.4 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.14.tar.gz
Algorithm Hash digest
SHA256 fdc79a49052b43f169c3e51e9e24fed470df437bf30cc0a4d7bf3102b3ada899
MD5 15fdea42d141f0d4c80f675a321ab95c
BLAKE2b-256 cdad6616cc68b21a780f7af6acbafdabe5b76a3053d9932a23650fd77ab3bc00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.14-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.14-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 d7263e8377dfd0e3bb122bb78bd6f1814181f0b1f48bb05c21d4603868234f69
MD5 8a52968e2edebb48087a72ff45fddc81
BLAKE2b-256 29438cb82fb2477447c85641ee8072bd73b43d28daba4d63040fe3aedf95d571

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.14-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.14-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a6f5c600599d7d8f9cc9e38c90b48d674807dfbc1554ab582538fdee34919d8e
MD5 c240cd1cdeffb75b6768b64e234ec537
BLAKE2b-256 677ab46e76afa44193edc0f4e4ee1452a90cfeac5e3774a401995cdc1a3ebcdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.14-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bd1d5088c051b6fecb2ca695420c833c862324bf33b85e1265abf14c8eb4f8bf
MD5 19337bf2b81e7be37ef7b859f35471b4
BLAKE2b-256 5d41bb62fdc8250044f1623552b659ce7471256b9738b9df51acfe117425f1b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.14-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2331827b35965ba9bb52df233d68bf3f22bf115194cbccf3cc0bed4954fa638e
MD5 01cf798896cd5b92aad04e652a73a9ce
BLAKE2b-256 9a3c1fa0a0950e55acef2905a56ad7e3b95f91d95c779733adbdb9bd4f7b6e8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.14-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4e4d3a920d727a83b8d177012e9045b29e368d69e307ccb7d2e436f2d7b3b23d
MD5 b9f5423f9d10d573af4db318e1337895
BLAKE2b-256 e74cecbc2b93bddf7fa5b2bb04ecbd90f8f3c03d880e2575cbce0fca18e25645

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.14-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f21f604fd2983623bdd6e3845f523a4733fd17c09b46448807357a6ae23fea63
MD5 4296e3bbf4c75fdddb4dbe51ecbc2b14
BLAKE2b-256 5540d9f1a2f3c2b5fbe5d64713b1f7d7405613326e37ab121efdcd8f7d1a6507

See more details on using hashes here.

File details

Details for the file asherah-0.5.14-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.14-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 7c2ee3e688935411482d623f4632e04597c8e13ea9b83abb654cf5f391fb9c96
MD5 5308938fcfba591fdf1308f4cb60ca99
BLAKE2b-256 361a5f6b5f8da051ea95817344ff077835f2e30bc452123adb8f1125e1b0c6fa

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