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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.21-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.21.tar.gz.

File metadata

  • Download URL: asherah-0.5.21.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.21.tar.gz
Algorithm Hash digest
SHA256 787ba52924c3c398626a90ec53c28f2cac94834bd507a1984869b88d8ce67444
MD5 78c5d4b5c192acfed199db2f8032fd97
BLAKE2b-256 78c3bc178a4ed300eaf333534949db4bc22d87d7bcb62c90ad85abb9f12580a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.21-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.21-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 525b207abf7d90cb31381d64a1a8bef6cbe0cd95a746e702b0ae160255ab83cd
MD5 c97f6ceb403207c6702f48f99ecd99c2
BLAKE2b-256 ed32640111fc2eb83e99c0ca349824514b10d2360b0c35eec1646a59c0eaf49b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.21-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.21-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7287aa19752b7420e110a3a3fd3a2de821e059cab272dae31bb6356ec5330258
MD5 205881d5d197c2647002f73286cd5bf0
BLAKE2b-256 93fc734845e277352c4c2c80cb2a119668ccade9cf943636dbfd60c40c1ffe7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.21-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f0fd5cce33eaa87c556798aad923735c51d71225cd14db4f917bb7f6a1d25fc8
MD5 3f4c3695a5872511cf283130f0e229a1
BLAKE2b-256 4a2289a522bb270d6abaf4f5f11eb3f3864a8a2f954ae15a9153393b9c51459d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.21-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3bb333c69e618610399602c6c79b79233abf9e482c7b3f301b99d2ba5481427f
MD5 9b99efa7309bd5c0da8ba6945b08d480
BLAKE2b-256 f485d002e36cf964fbdb5cb7e1421b1fdc0303222592b603b76900ee2477d190

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.21-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fd42a0573b67df019abb4746fa66d56e76ae6e846311ac5afaadf9982df62582
MD5 374e9d7842a01f80df4e76319082d308
BLAKE2b-256 69646f0bb9c39f074b099ed4d50bc42ef0e25885ff23a529708fd0a5e7859ebe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.21-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 765b5365cccd8c20f277bd07a47fab4b8bcffea3d77a642b98cfe4b14a152143
MD5 f2431edc03ef26c6263a93f7b34beb37
BLAKE2b-256 079d8818202030e4ae7bccd8855323cc220150f5888fbaf2edf9134046807d33

See more details on using hashes here.

File details

Details for the file asherah-0.5.21-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.21-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 4b27f69eaa8e8bbef5548eb30fa2938d1981968d4091c49b2c5034a45adae172
MD5 5190338e37dcdd3d1e9a7fc2fcf1ea09
BLAKE2b-256 f36eb3c1bb0cba64668f159611297356750cc468a5b4be1a534dfa107d9d2afb

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