Skip to main content

easy-aes is an ultra-lightweight, pure-python library for doing AES encryption. It draws heavily on the popular crypto library, simplifying AES encryption and decryption of files to a single function each.

Usage

Simple usage follows this pattern:

import easy-aes
encrypt_me = "my_transcript.pdf"
output_file = easy-aes.encrypt_file(encrypt_me)

output_file is a string with the new file name.

WARNING: IF YOU FORGET YOUR PASSWORD AND DELETE THE ORIGINAL DATA, YOUR FILE WILL NOT BE ABLE TO BE RETRIEVED!

import easy-aes
encrypted_file = "my_encrypted_filename.aes"
binary_data = easy-aes.decrypt_file(encrypted_file)
with open('my_new_file.aaa','wb') as new_file:
  new_file.write(decrypted_data)

decrypt_file returns a Python object containing the now-decrypted data.

Installation

easy-aes works Python 3.3+. To install it, use:

$ pip install easy-aes

0.1

Released on September 10, 2016

Metadata

Release files for easyaes 0.123

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easyaes 0.123
File Size Uploaded Provenance Actions
easyaes-0.123.zip 2.7 kB Without provenance Details for easyaes-0.123.zip

Release files / easyaes-0.123.zip

Download URL easyaes-0.123.zip
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3f4b2190460fe5b38ea302211def8523f0bf8def490996e2cac8e23aece083a3
BLAKE2b-256 checksum
How to use checksums
039dcebc89bfc9abb42414fa059fc215334c74cfa2bdef672c7c9b11fe387cbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for easyaes 0.123

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.123 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page