Skip to main content

pyAesCrypt

About pyAesCrypt

pyAesCrypt is a Python 3 file-encryption script that uses AES256-CBC to encrypt/decrypt files.

pyAesCrypt is compatible with the AES Crypt file format (version 2).

The script is Free Software, released under the Apache License, Version 2.0.

pyAesCrypt is brought to you by Marco Bellaccini - marco.bellaccini(at!)gmail.com.

IMPORTANT SECURITY NOTE: version 2 of the AES Crypt file format does not authenticate the “file size modulo 16” byte. This implies that an attacker with write access to the encrypted file may alter the corresponding plaintext file size by up to 15 bytes.

NOTE: there is no low-level memory management in Python, hence it is not possible to wipe memory areas were sensitive information was stored.

Usage examples

Encrypt file test.txt in test.txt.aes:

pyAesCrypt -e test.txt

Decrypt file test.txt.aes in test.txt:

pyAesCrypt -d test.txt.aes

Encrypt file test.txt in test2.txt.aes:

pyAesCrypt -e test.txt -o test2.txt.aes

Decrypt file test.txt.aes in test2.txt:

pyAesCrypt -d test.txt.aes -o test2.txt

Metadata

Release files for pyAesCrypt 0.1

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

Source distribution (sdist)

Source distribution for pyAesCrypt 0.1
File Size Uploaded Provenance Actions
pyAesCrypt-0.1.tar.gz 8.6 kB Without provenance Details for pyAesCrypt-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyAesCrypt 0.1
File Interpreter ABI Platform Actions
pyAesCrypt-0.1-py3.2.egg Legacy Egg format - - Details for pyAesCrypt-0.1-py3.2.egg

Total release size: 14.1 kB

Release files / pyAesCrypt-0.1.tar.gz

Download URL pyAesCrypt-0.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fbca42f68bab22df34a49968c149f89f7c166c3077d343898fcb0550aeeb3919
BLAKE2b-256 checksum
How to use checksums
e9880c3d6d271265c7438da64d7222bf469d21d977a162811694a1298c025fef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyAesCrypt-0.1-py3.2.egg

Download URL pyAesCrypt-0.1-py3.2.egg
Size 5.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
e737302acdaec29731158804bc385393515a9c9f6757e97a7cbad8c515ba763b
BLAKE2b-256 checksum
How to use checksums
07fbb575c86fcaf09b4454a594ff7471fbae023144512bf6181c64351da230d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyAesCrypt 0.1

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.

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