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.2.tar.gz
(1.6 kB
view hashes)
Built Distribution
Close
Hashes for EncryptEnv-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0c26352abd71e4b0b4c56d594f0300710e3e144b9becfdef5b870814e45170d |
|
MD5 | 4268fd165320644a99330319564973aa |
|
BLAKE2b-256 | 4368dee34c8ff72d01dfeb4a59f95078b403aacf75977f974bb37fbee0958a3c |