'using cryptojs i decrypt my password but i am unable to see in the console although i am getting the encoded one
const hashedPassword = CryptoJS.AES.decrypt(
user.password,
process.env.SECRET_KEY
);
console.log(hashedPassword);
const originalPassword = hashedPassword.toString(CryptoJS.enc.Utf8);
console.log(originalPassword);
//console.log
Backend Server is running!
DB connection successful
{
words: [ 2007039210, -646138000, -2080404445, -1585757698 ],
sigBytes: -104
}
///using cryptojs i decrypt my password but i am unable to see in the console although i am getting the encoded one
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
