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 hashes)

Uploaded Source

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