noobaa-core
noobaa-core copied to clipboard
Noobaa Account: Replace bcrypt password hashing by crypto
As bcrypt is not under active maintenance, we need to replace it with node.js crypto hashing module.
This PR is in line with https://github.com/noobaa/noobaa-core/pull/8213
IN this PR I tried to implement in-built node.js crypto module. Over all approach is same. We just need to implement two addition functions to create hash and verify that hash.