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.25.tar.gz (177.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.25-cp38-abi3-win_arm64.whl (7.9 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

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

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

asherah-0.5.25-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.25.tar.gz.

File metadata

  • Download URL: asherah-0.5.25.tar.gz
  • Upload date:
  • Size: 177.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.25.tar.gz
Algorithm Hash digest
SHA256 6f01d4d871f96c5c323d8f4ed46df9b279c8b46c05ef10d665d9f6b1b6187908
MD5 4029b61b8177117ae3a20fd6f2f9617f
BLAKE2b-256 35b4d256971dfe49755e242560723055b159f5a5a4798325157c0ef4fd0b9077

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.25-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 7.9 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.25-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 adba1613c1b9dd057133f65bb0a38c19e6baec3b6cb24ff952f62021c0a74293
MD5 c13c270ced8a5deb0cdeeac570b4107e
BLAKE2b-256 2e1df47b2c5c0175331a4b73646b016c76d728432dc1e69e9ebb6496c5685836

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asherah-0.5.25-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.25-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0be609f4017cb6bf36cf8eef15fbc9d618fa60e67f8ed69afeed0580a0b5b6e4
MD5 a81ac1247b579393cf7412f8b435ef00
BLAKE2b-256 dafeaf0b33cc4ab53dceddaaf2abc2cc8c72a8da2262432eb45bc34c9f47f227

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.25-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 44a9bd3e8db479210d93657a06c613ad281a3f2e9513df83cc15d90395ce1f08
MD5 05b36582fd77d6d5c5916c62a50ac404
BLAKE2b-256 811ff65d7d7acb8489acc03aacb8bae977c9ba2aa699645f5bcbc499c4558c29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.25-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2b3c3f519db302d2890c89f43b887a14dd42bf5d8a02d89949d25d3ba0bd6871
MD5 46aaf8a8510c7c58825e242248b48b33
BLAKE2b-256 09bba615899d111ffae3a061607fc33ea833c4c899a341d93dce320ac3ffcc68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.25-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ff2e3215a89c00a8ce9d031600d2a7d689f9ce9f3e3460862023d378a17666bd
MD5 f94d27c364a754fef5844497de758ca1
BLAKE2b-256 7c22a79d5e72d3a322e3dff5f7535c1a9e5412f53f9ce37f383629dd1e292a18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asherah-0.5.25-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f577980c6196a586e70342da32ebf563e13c8d4e42961edc1d067dd7345e8901
MD5 96a5f5654bb8f544b05639c645a40048
BLAKE2b-256 a22535a3477f3ed5b87dcd22283c1a3ad05b77704eae1ec56bc794d27f1df42c

See more details on using hashes here.

File details

Details for the file asherah-0.5.25-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.25-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 19323e1ee04aa6796b810d343d5e8eb275aa7e03f4f44c290a391125662aeeb7
MD5 0c31a4a89317d5b094ed78a0f29dac24
BLAKE2b-256 043d65aabf55f605202f591d685a98d53752dcc011e2e9063431e47b90130e1f

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