passwordEncrypter.py
is a simple yet powerful script designed to securely encrypt and decrypt passwords. This standalone Python file is ideal for anyone looking to protect sensitive data with minimal setup.
- AES-256 Encryption: Uses AES encryption to secure passwords.
- Password Hashing: Adds an extra layer of security with hashing.
- User-Friendly CLI: Interact with the script via a command-line interface for encrypting and decrypting passwords.
-
Prerequisites: Make sure Python 3.7+ is installed.
-
Install Dependencies: The script requires the
cryptography
library.pip install cryptography
-
Download the Script: Clone the repository or download the
passwordEncrypter.py
file.
-
Encrypt a Password
To encrypt a password, run:
python passwordEncrypter.py --encrypt
You will be prompted to enter the password you want to encrypt. The script outputs the encrypted version.
-
Decrypt a Password
To decrypt an encrypted password:
python passwordEncrypter.py --decrypt
Enter the encrypted password, and the script returns the original password if authenticated.
-
Generate a Strong Password
Use the
--generate
option to create a random strong password.python passwordEncrypter.py --generate
- AES Encryption: The script uses AES-256 to securely encrypt passwords, ensuring they are safe from unauthorized access.
- Master Key: Protects your passwords with a unique master key, allowing only you to decrypt stored information.
- Password Storage: Encrypted passwords can be stored locally in your preferred file or environment.
# Encrypting a password
python passwordEncrypter.py --encrypt
# Decrypting a password
python passwordEncrypter.py --decrypt
# Generating a random strong password
python passwordEncrypter.py --generate
This project is licensed under the MIT License. See the LICENSE file for details.