This is a simple Node.js script that demonstrates password hashing with salt using the SHA-256 cryptographic hash function. It prompts the user to enter a password and then generates a salt, hashes the password with the salt, and prints the hashed password along with the salt.
- Make sure you have Node.js installed on your system.
- Clone this repository to your local machine.
- Navigate to the directory containing the code.
- Install dependencies by running:
- Run the script using Node.js: