CS4850Group5A / VirtuDoc

1 stars 3 forks source link

Password salting #151

Open ARMmaster17 opened 2 years ago

ARMmaster17 commented 2 years ago

Summary

In production, passwords should be salted (+peppered) in addition to the existing hashing algorithm. The salt can be hardcoded through an environment variable in the dev stack and when testing, but in production the salt should come from an environment variable separate from our IaaS manifests.

Salting is a strong recommendation by the NIST, which serves as the foundation for the regulations associated with HIPAA. Applying peppering to passwords is also considered a good practice by the NIST.

Implementation