showing results for - "algorithm used by strapi for password"
Perrine
27 Apr 2019
1
2const bcrypt = require('bcryptjs');
3
4
5
6const hashPassword = async password => await bcrypt.hash(password, 10);
7
8const validatePassword = async (password, hash) => await bcrypt.compare(password, hash);
9
10
similar questions
queries leading to this page
algorithm used by strapi for password