Skip to main content

Bush-Encryption A New Type Of Algorithm Using AES

Project description

Bush Encryption

Installation

pip install Bush

Usage

Encrypting

from bush import Bush
cipher = Bush(b"Key")
cipher.encrypt(b"Hello, World!")
# Output
"""
b'j11CQjeAKt5EnNh9cBmVmu0ijb9dorK-vie95zhpyRU=JO4YlVWp_HwEjnKbZZp_zg==qojd6BXjI9Zyc_OHySgRkg=='
"""

Decrypting

from bush import Bush
cipher = Bush(b"Key")
cipher.decrypt("b'j11CQjeAKt5EnNh9cBmVmu0ijb9dorK-vie95zhpyRU=JO4YlVWp_HwEjnKbZZp_zg==qojd6BXjI9Zyc_OHySgRkg=='")
# Output
"""
b'Hello, World!'
"""

Algorithm Overview

This Algorithm is inspired From Fernet which uses AES
The Encrypted Cipher Text changes every time you run the code
because of change in IV (Initializing Vector) Which is generated from
OS and it is embedded in the cipher text as well!
And It uses Sha256 for making sure that the data is not altered in any manners
And the Sha256 Digest is also embedded in the cipher text as well.
Which Makes This Algorithm A Bit Different From Other Algorithms

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

Bush-Encryption-0.3.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

Bush_Encryption-0.3-py3-none-any.whl (7.3 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