ensdat-0.0.2
توضیحات
encryption module
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | ensdat-0.0.2 |
| نام | ensdat |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aqouthe |
| ایمیل نویسنده | hoonie0929@gmail.com |
| آدرس صفحه اصلی | https://github.com/Aqouthe |
| آدرس اینترنتی | https://pypi.org/project/ensdat/ |
| مجوز | - |
Useful modules for encryption and file encryption and decryption (currently only string decryption)
## test
making key code :
```python
print(destr.make_key('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'))
# result : [97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97,
# 97, 97, 97, 97]
```
encrypting code
```python
print(destr.ens('this is test str.', destr.key))
# result : b'89k2hfSgnomKayxjTYPH4rxGGMSZORJJueh8x53OCaXq4+UFzTWeU2qjQQcqmtMV'
print(destr.ens('this is test str.', destr.key))
# result : b'qfEw+NuqhmIsq1DbXZh6glNEQSW3EUkZWxFEOdQwdSudTGWszjA17BNF27hSgBgs'
print(destr.ens('this is test str.', destr.key))
# result : b'xxMjhD7BbBTNKYDWM9W9F51n13VgxGtUqYbVGx5ErBvcWBVHG4umnaHPPsoobcj2'
print(destr.ens('this is test str.', destr.key))
# result : b'JdheT2cei4KTYHY3I8aMMi+9xYX#+ugySPBGLAuUpZE6VlSNWKmguyifgI5yxh8YG'
```
decrypting code
```python
print(destr.des(b'89k2hfSgnomKayxjTYPH4rxGGMSZORJJueh8x53OCaXq4+UFzTWeU2qjQQcqmtMV', destr.key))
# result : 'this is test str.'
```
نیازمندی
| مقدار | نام |
|---|---|
| - | os |
| - | cryptography |
| - | pycryptodome |
| - | pycryptodomex |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl ensdat-0.0.2:
pip install ensdat-0.0.2.whl
نصب پکیج tar.gz ensdat-0.0.2:
pip install ensdat-0.0.2.tar.gz