Skip to main content

Encrypt Strings With AES Encryption

Project description

AES Encryptor

Installation

pip install AES-Encryptor

Using git

git clone https://github.com/pmk456/AES-Encryptor
cd AES-Encryptor
python setup.py install

Usage

Encrypt String

from Encryptor import AES
enc = AES(key='keytouse', iv='this is iv 45611')
enc.encrypt("Hello")
### OUTPUT
b'}%\x99\x00b3\xb0?\xe5\t\x07wc\xa8\xc6\x8d'

Decrypt String

from Encryptor import AES
dec = AES(key='keytouse', iv='this is iv 45611')
dec.decrypt(b'}%\x99\x00b3\xb0?\xe5\t\x07wc\xa8\xc6\x8d')
### OUTPUT
'Hello'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AES-Encryptor-1.6.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

AES_Encryptor-1.6-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page