DEV Community

Discussion on: Encrypt and Decrypt Data in Node.js using aes-256-cbc

Collapse
 
jobizil profile image
Ugbem Job

It's not a good practice to save them in the env as every encryption hash is expected to have its own unique encryption key.