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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

asherah-0.5.4-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.4-cp38-abi3-musllinux_1_2_aarch64.whl (8.5 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

asherah-0.5.4-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.4-cp38-abi3-manylinux_2_28_aarch64.whl (8.1 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.4-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.4.tar.gz.

File metadata

  • Download URL: asherah-0.5.4.tar.gz
  • Upload date:
  • Size: 193.3 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.4.tar.gz
Algorithm Hash digest
SHA256 6ce89e1b10d40b4ede097aa2bbfb9a9aaddd74f2692807ea0f4fb138270542e3
MD5 6e14e6cbfca53c192332ee1539adb7ab
BLAKE2b-256 f07b243a964bd8b3e12cb1037afca0895846f364321f59b1cd34f5a5fe0b9f56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.4-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.4-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 6d47aae3e01233b77e3e8f8f60ed14dd5b0b5cdb6a8bc5ff139ce22095409500
MD5 a403222ba5c8f02b170b70cfebd14cfc
BLAKE2b-256 2ae0f5c77c13f007bd233715aa58b0c0030b98932cc09e9e2c0f7a20fe413ba1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.4-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.4-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a1a4ca3b99c44d702e2110386acdce0a88bbf794d35ab9cde2e51d11c6edbcfe
MD5 40a329895789e2dc283522756ff65bbe
BLAKE2b-256 5a71bb148bb0994ee844c3349c129afd06890845fe084cce91285c3a789c4aa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.4-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 823d4b85993b165528e4f51b137a5aab868e52eac550cf69c6691fbb3d62065d
MD5 4de9a615e76ca585fde36f8adf719df6
BLAKE2b-256 f593f28e860f9348efb864e6844940405225260e58c71afa2b3babeda4cff49f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.4-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c6f6146e16cd5eb5b45ed99faa5b36c04e0569675cc1bd86dd811b650678023a
MD5 93afe3a4c13cc7af583b37183f8ab921
BLAKE2b-256 e4ea93f71a70c289640adcfd357c4a09ba7eadf6ee6749718e1f6d004eea66d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.4-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5bb03218f6ae6e5254f53a2bbb820cc75c0d17b57a7ed79eedf786e4c922de88
MD5 a57b4d32be932f7aefc4d052229505bd
BLAKE2b-256 a65756b697be27effc5259166e9334bd3c5ece79a4a7e15f8d59804dec0d2bb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.4-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9c1c2952ae8c61a56898e808cdee70a4fb44c938cacc716ea1ec2adabf77286c
MD5 eb8852b312041922313f7fbfb148e74c
BLAKE2b-256 07cfc28d3e1e16da90f42ccf1ddfdd71a7483fa06a374d1ec0186579fafd2d01

See more details on using hashes here.

File details

Details for the file asherah-0.5.4-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.4-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 009a75c8e61cccd80ca493498f1208fdead9beb9396050ac72a5b4f9571136b7
MD5 845a548c63d0e5aedf68c2bd4016e7a8
BLAKE2b-256 0fd5c9a124c62e125bf1bb77c9c7f584001a131b64d74c56560a4b6b85307452

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