https://github.com/ostinelli/pyaes256
An AES-256 cryptographic module for Python.
https://github.com/ostinelli/pyaes256
Last synced: about 1 year ago
JSON representation
An AES-256 cryptographic module for Python.
- Host: GitHub
- URL: https://github.com/ostinelli/pyaes256
- Owner: ostinelli
- License: other
- Created: 2010-10-02T12:53:42.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-10-02T13:07:24.000Z (over 15 years ago)
- Last Synced: 2025-03-30T08:24:44.759Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 97.7 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
AES-256 cryptographic library for Python.
=========================================
This is a basic encryption AES-256 library for Python. Currently, only the
ANSI X.923 byte padding is supported.
An example usage of the module is:
>>> import aes256
>>> key = "aserghjerg4w5ygb8JHBr8ySuhrergiE"
>>> encrypted = aes256.encrypt("My testing clear text", key)
>>> decrypted = aes256.decrypt(encrypted, key)
>>>> print "decrypted: %s" % decrypted
My testing clear text
Installation
============
The toolkit is written and tested using Python 2.6, though it should
also work with previous versions of Python 2.x.
The modules are packaged using the Distutils, so you can simply run
"python setup.py build" to build the package, and "python setup.py
install" to install it.