Skip to main content

tiny-AES-c wrapper in Cython

Project description

PyPI version

tiny-AES-c Cython wrapper

tinyaes is a few lines Cython wrapper for the tiny-AES-c, a Small portable AES128/192/256 in C.

The library offers a few modes, CTR mode is the only one currently wrapped. Given the C API works modifying a buffer inplace, the wrapper offers:

  • CTR_xcrypt_buffer(..) that works on all bytes convertible types, and encrypting a copy of the buffer,
  • CTR_xcrypt_buffer_inplace(..) that works on bytearrays only, modifying the buffer inplace.

Release notes

  • 1.0.0a2 (Jan 29, 2020): first public release
  • 1.0.0a3 (Feb 7, 2020): fix bytes inplace mutation error

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinyaes-1.0.0a3.tar.gz (38.3 kB view details)

Uploaded Source

File details

Details for the file tinyaes-1.0.0a3.tar.gz.

File metadata

  • Download URL: tinyaes-1.0.0a3.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.3

File hashes

Hashes for tinyaes-1.0.0a3.tar.gz
Algorithm Hash digest
SHA256 bbe6314d5ad2f68068a98e7f22ea606855f86134e5f0836c34c0298b35eb6dbc
MD5 a997adb88ded6e278236f0710f1c661d
BLAKE2b-256 b0df2ad825f42a4ddb0e8fda88984b6b49586b438cd736dc05ec01b285588801

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page