Skip to main content

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


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)

Uploaded Source

Built Distribution

EncryptEnv-0.0.3-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

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

Hashes for EncryptEnv-0.0.3.tar.gz
Algorithm Hash digest
SHA256 01b4f45fb8e97769459dfd739f2589c941d9bd0125d91efddc4620f01708add3
MD5 86717f134b29023f6f151a443d4fafeb
BLAKE2b-256 9f62ad4e4fa73a42415177f1d078e7b9e14ae49ae4ffff0f985ef39fcb7998e5

See more details on using hashes here.

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

Hashes for EncryptEnv-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 37cbc21a3621f91f74d6a9567875f04fa20b49e8283e128d877ce5e3b6c35618
MD5 97ec004737f9f6b50fb7de79b48c1a1b
BLAKE2b-256 20c7b9f45f776852868a5571e61024fdcfdc28089bfba36a6f5b789029c1cd49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page