EncryptEnv-0.0.3
توضیحات
Encrypt the passwords in the environment variables.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | EncryptEnv-0.0.3 |
| نام | EncryptEnv |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Thinktron |
| ایمیل نویسنده | jeremywang@thinktronltd.com |
| آدرس صفحه اصلی | http://rd.thinktronltd.com/jeremywang/EncryptEnv |
| آدرس اینترنتی | https://pypi.org/project/EncryptEnv/ |
| مجوز | - |
# Installation
```
pip install -U EncryptEnv
```
# Usage
```python
from EncryptEnv import generate_key, encyrpt_key, restore_key
key = generate_key()
print(key)
msg = "<your_msg>"
entrypted_msg = encyrpt_key(key, msg)
print(entrypted_msg)
msg = restore_key(key, entrypted_msg)
print(msg)
```
نیازمندی
| مقدار | نام |
|---|---|
| ==2.8 | cryptography |
نحوه نصب
نصب پکیج whl EncryptEnv-0.0.3:
pip install EncryptEnv-0.0.3.whl
نصب پکیج tar.gz EncryptEnv-0.0.3:
pip install EncryptEnv-0.0.3.tar.gz