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

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.5-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.5.tar.gz.

File metadata

  • Download URL: asherah-0.5.5.tar.gz
  • Upload date:
  • Size: 197.2 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.5.tar.gz
Algorithm Hash digest
SHA256 70888969a54ac1c945da874b274cc875eab110a18809519bdc9399fe8cbac69f
MD5 1316dfc373f4b7106d5737e578badb98
BLAKE2b-256 cdee791d3e269befda4999653947162397209880c649465083d31f304754c7a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.5-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.5-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 7eb642bce4b8f16fc6daa0155dca1b340426675dff28588713ccc74f329de0e6
MD5 0ec277ad92576e68f9fce212306a7a73
BLAKE2b-256 20bc2e24e50d8c49cd02bfc1d9c8e1f3927308b81f73057c9ef11dc4cd7be99e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.5-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.5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3d472131de75bf28f7794998baefb3986c4c8430e0f9ff7fd07d85354de08e49
MD5 29a790de942147a6296ddb455e4543db
BLAKE2b-256 5cdb8baa5ce836ad2f53cdb1f72a86d82a3534918f6b2a319d3099b0b27f7a54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.5-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 84a31cc4af85bfe33ee7696d0fe2f807938579b68e39ecc74e61be305a7debc4
MD5 856f52632891171024a65c50cbffc052
BLAKE2b-256 9993fcdc2f01fdc86db1fd6b10927ac56be5b0b32cd08eae00c707eb486cac39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.5-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 be5f91d24cfbdd56e60b1bca8128ff24b0a4fdf073f58f7a9b83846d7254724d
MD5 514ad6941927bdc83fa88a02a630efc6
BLAKE2b-256 ebe4425be0fe2751923d503aacca5dc33cebde2a7b3bea5a3db05a79e9f43268

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.5-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b9fb7f420cb4f2d32802c51ddc4261f97f21c0ad6fc5335e0f9cbdef2d2c3fbb
MD5 af9da66742a8335e4b671ef4673f50c7
BLAKE2b-256 44f06917079555f308e6f0e20006c93dfd7986d7845c1aab14d80837e79f0335

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.5-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d8f25d82b3de5682b8dc8c64b34811de18d9d8aef776f7924980b87d2d1228df
MD5 df8374085c248da37fa4b87cf7ac4b49
BLAKE2b-256 d6d9e2fc8df73c42f28403de7921bcc4526e8c3dc3cd6bbcbfd386139921de1d

See more details on using hashes here.

File details

Details for the file asherah-0.5.5-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.5-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 7864c874d4ef435c586969971ca23626650f68bb7ccf99897a354a411a554dbd
MD5 5f6e33b070c2c1fd2caddbfa2fffb76a
BLAKE2b-256 6d6fa952cf42f67387231cac8e340c54ee5158876d35fe47a9c0ae44c43faf4f

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