Programming ConceptsEncryption

Encryption converts data into an unreadable format to protect it from unauthorized access. Common algorithms include AES and RSA.

const crypto = require('crypto');
const hash = crypto.createHash('sha256').update('password').digest('hex');
console.log(hash);