we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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