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 hashes)
Built Distribution
Close
Hashes for EncryptEnv-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37cbc21a3621f91f74d6a9567875f04fa20b49e8283e128d877ce5e3b6c35618 |
|
MD5 | 97ec004737f9f6b50fb7de79b48c1a1b |
|
BLAKE2b-256 | 20c7b9f45f776852868a5571e61024fdcfdc28089bfba36a6f5b789029c1cd49 |