This Python script is a simple tool to hash passwords using the Secure Hashing Algorithm 256-bit (SHA-256). It provides a secure way to store passwords by converting them into a fixed-length hash value. The updated code now salts the password before hashing it, allowing for more security.
- Clone the repository or download the script.
- Run the script using Python.
- Enter the password you want to hash when prompted.
- The script will output the hashed password.
- Python 3.x
- Open your terminal or command prompt.
- Navigate to the directory containing the script.
- Run the script using the following command:
python hashing_passwords.py