var password = crypto.createHash('sha256').update(data.password).digest('base64');
var salt = md5(uniqid() + 'secret');
I want to reverse the hash
For example I got:
dorZJ+jKH8z29WYXf/+NOiuQYpj3UZDPdr05mj3bN4s=
For babylone as a password!
var password = crypto.createHash('sha256').update(data.password).digest('base64');
var salt = md5(uniqid() + 'secret');
I want to reverse the hash
For example I got:
dorZJ+jKH8z29WYXf/+NOiuQYpj3UZDPdr05mj3bN4s=
For babylone as a password!
the point of a hash is that it is not reversible, but with the same input it will always give the same output.
To verify the hash against a password, you just have to generate a hash from that password and compare the two.