aespy-0.14
توضیحات
An ultra-lightweight library to securely encrypt any file with AES.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aespy-0.14 |
| نام | aespy |
| نسخه کتابخانه | 0.14 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Joshua A. Lee |
| ایمیل نویسنده | jlee17@gmu.edu |
| آدرس صفحه اصلی | https://github.com/Starstorm3/aespy.git |
| آدرس اینترنتی | https://pypi.org/project/aespy/ |
| مجوز | MIT |
aespy
========
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:
.. code-block:: python
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!
.. code-block:: python
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:
.. code-block:: bash
$ pip install aespy
0.1
~~~
Released on September 10, 2016
نحوه نصب
نصب پکیج whl aespy-0.14:
pip install aespy-0.14.whl
نصب پکیج tar.gz aespy-0.14:
pip install aespy-0.14.tar.gz