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
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c15331ceb38bfa62b0e6b8117dbc35645de678ee8b1e3393d12515e488a9c15a
|
|
| MD5 |
3c2b271f84b8d66c1b87d6683b9f6841
|
|
| BLAKE2b-256 |
d04257145800c231a49f20bc7ae2e9967b66cd6ced92aced422042e8fb0973b4
|
File details
Details for the file passwordencryption-0.0.2-py3-none-any.whl.
File metadata
- Download URL: passwordencryption-0.0.2-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02edb665ec6c1b7d67465f54c7e5137c8e453684f8f653c7fafdbfab735cb94b
|
|
| MD5 |
0c9979c1eaeb2f05b2a987219b87f625
|
|
| BLAKE2b-256 |
5155f56817b2c45da4365a6e48c191189adc4701508cb9c10369b376ccdb7f01
|