Skip to main content

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

Metadata

Release files for Bush-Encryption 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Bush-Encryption 0.3
File Size Uploaded Provenance Actions
Bush-Encryption-0.3.tar.gz 6.8 kB Without provenance Details for Bush-Encryption-0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Bush-Encryption 0.3
File Interpreter ABI Platform Actions
Bush_Encryption-0.3-py3-none-any.whl Python 3 none any Details for Bush_Encryption-0.3-py3-none-any.whl

Total release size: 14.1 kB

Release files / Bush-Encryption-0.3.tar.gz

Download URL Bush-Encryption-0.3.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5fdf99ce1b21a43d58cbc39bb81de198736c098f653efd6209ac56de3e2d064b
BLAKE2b-256 checksum
How to use checksums
3e17462ec04fa18918ae79135bdd0b678ae30bd863537fcc0de2283c80aa207f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5

Release files / Bush_Encryption-0.3-py3-none-any.whl

Download URL Bush_Encryption-0.3-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf2625b82e33be78374035aa88b5fda5298d650c9914bf2a065f34ec5412b7da
BLAKE2b-256 checksum
How to use checksums
efb8b283f10f6b8eefb4c17fcfc0aac0af218076416e9bc80646d5102ef1ea3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.5

Security for Bush-Encryption 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page