Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 574 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 574 Bytes

Password Hashing with Salt using Node.js

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.

Installation

  1. Make sure you have Node.js installed on your system.
  2. Clone this repository to your local machine.
  3. Navigate to the directory containing the code.
  4. Install dependencies by running:

Usage

  1. Run the script using Node.js: