Bush-Encryption-0.3
توضیحات
Bush-Encryption A New Type Of Algorithm Using AES
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | Bush-Encryption-0.3 |
| نام | Bush-Encryption |
| نسخه کتابخانه | 0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Patan Musthakheem |
| ایمیل نویسنده | patanmusthakheem786@gmail.com |
| آدرس صفحه اصلی | https://github.com/pmk456/Bush-Encryptor |
| آدرس اینترنتی | https://pypi.org/project/Bush-Encryption/ |
| مجوز | Apache 2.0 |
# Bush Encryption
## Installation
```commandline
pip install Bush
```
## Usage
### Encrypting
```python
from bush import Bush
cipher = Bush(b"Key")
cipher.encrypt(b"Hello, World!")
# Output
"""
b'j11CQjeAKt5EnNh9cBmVmu0ijb9dorK-vie95zhpyRU=JO4YlVWp_HwEjnKbZZp_zg==qojd6BXjI9Zyc_OHySgRkg=='
"""
```
### Decrypting
```python
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
```
نیازمندی
| مقدار | نام |
|---|---|
| >=3.9.6 | pycryptodome |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl Bush-Encryption-0.3:
pip install Bush-Encryption-0.3.whl
نصب پکیج tar.gz Bush-Encryption-0.3:
pip install Bush-Encryption-0.3.tar.gz