Encrypt the passwords in the environment variables.
Project description
Installation
pip install -U EncryptEnv
Usage
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
EncryptEnv-0.0.3.tar.gz
(1.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file EncryptEnv-0.0.3.tar.gz.
File metadata
- Download URL: EncryptEnv-0.0.3.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01b4f45fb8e97769459dfd739f2589c941d9bd0125d91efddc4620f01708add3
|
|
| MD5 |
86717f134b29023f6f151a443d4fafeb
|
|
| BLAKE2b-256 |
9f62ad4e4fa73a42415177f1d078e7b9e14ae49ae4ffff0f985ef39fcb7998e5
|
File details
Details for the file EncryptEnv-0.0.3-py3-none-any.whl.
File metadata
- Download URL: EncryptEnv-0.0.3-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37cbc21a3621f91f74d6a9567875f04fa20b49e8283e128d877ce5e3b6c35618
|
|
| MD5 |
97ec004737f9f6b50fb7de79b48c1a1b
|
|
| BLAKE2b-256 |
20c7b9f45f776852868a5571e61024fdcfdc28089bfba36a6f5b789029c1cd49
|