Skip to main content

Private Python library who provides an password encrytion/decryption that you do not have anyplain text password in a config file.

Project description

passwordencryption

Reversible password encryption.
This module encrypt and decrypt a plain text password, with that is possible to add this encrypted password in a config file

Installation

pip install passwordencryption

Usage

from passwordencryption import *

Encrypt password

password = 'ABCabc'
encrypted_password = passwordencryption.encrypt(password)

print(encrypted_password)

Output

'bEdyoFB0wjDBK0WOWm6kyR3MLUe7rwkjvv_RXiFVkf4gAAAAABnKhHGTfmlI5Y9kw_3umDMLBI7vHh1k2x_8UyUm-jIvyWgl-fw6m7aDgGiutImaK6CbCp_ua4vrGHGW5D7sdl5Wn9eAg=='

Decrycpt encrypted password

encrypted_password = 'bEdyoFB0wjDBK0WOWm6kyR3MLUe7rwkjvv_RXiFVkf4gAAAAABnKhHGTfmlI5Y9kw_3umDMLBI7vHh1k2x_8UyUm-jIvyWgl-fw6m7aDgGiutImaK6CbCp_ua4vrGHGW5D7sdl5Wn9eAg=='
password = passwordencryption.decrypt(encrypted_password)

print(password)

Output

'ABCabc'

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

passwordencryption-0.0.2.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

passwordencryption-0.0.2-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file passwordencryption-0.0.2.tar.gz.

File metadata

  • Download URL: passwordencryption-0.0.2.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for passwordencryption-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c15331ceb38bfa62b0e6b8117dbc35645de678ee8b1e3393d12515e488a9c15a
MD5 3c2b271f84b8d66c1b87d6683b9f6841
BLAKE2b-256 d04257145800c231a49f20bc7ae2e9967b66cd6ced92aced422042e8fb0973b4

See more details on using hashes here.

File details

Details for the file passwordencryption-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for passwordencryption-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 02edb665ec6c1b7d67465f54c7e5137c8e453684f8f653c7fafdbfab735cb94b
MD5 0c9979c1eaeb2f05b2a987219b87f625
BLAKE2b-256 5155f56817b2c45da4365a6e48c191189adc4701508cb9c10369b376ccdb7f01

See more details on using hashes here.

Supported by

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