Algorytm używany przez Strapi do hasła


const bcrypt = require('bcryptjs');



const hashPassword = async password => await bcrypt.hash(password, 10);

const validatePassword = async (password, hash) => await bcrypt.compare(password, hash);

Distinct Dormouse