Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

apinanyogaratnam/aes-encryption

Repository files navigation

AES Encryption

Downloads

A python aes encryption library

Table of Contents

Installation

Install using pip

pip install aes-encryption

Usage

from aes_encryption import AESCipher

encryption_key: str = 'secret key'
cipher: AESCipher = AESCipher(encryption_key)  # this initializes the cipher with an encryption key
message: str = 'secret message'
encrypted: str = cipher.encrypt(message)  # this is how you encrypt your message
decrypted: str = cipher.decrypt(encrypted)  # this is how you decrypt your message

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.