Programming Concepts — Hashing
Hashing converts data into a fixed-size string, often used for storing passwords securely or indexing data efficiently.
const crypto = require('crypto');
const hash = crypto.createHash('sha256').update('password').digest('hex');
console.log(hash);