Skip to main content

aespy 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 aespy
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 aespy
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

aespy works Python 3.3+. To install it, use:

$ pip install aespy

0.1

Released on September 10, 2016

Metadata

Release files for aespy 0.14

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

Source distribution (sdist)

Source distribution for aespy 0.14
File Size Uploaded
aespy-0.14.zip 2.7 kB Details

Release files / aespy-0.14.zip

Download URL aespy-0.14.zip
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
96aebbc7471500426b27f63548938e95495b8304418c9b43a71e97e9c17bbaee
BLAKE2b-256 checksum
How to use checksums
198eb95a7db3afea022c9924b3fd5b1b40dd07b3b566b2fb2256952300bc2356
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.131

1 release file

This release

0.14 This release

1 release file

0.13

1 release file

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