Notifications
Clear all
Topic starter
Hello,
When a new user is registered on osclass, and a password hash is generated using bcypt() , what level of encryption does osclass do by default?
Where is the location of the file where the encryption is done, and how can i increase or decrease it?
Thank you
Posted : December 7, 2020 23:33
Put this in your config.php of Osclass:
define('BCRYPT_COST', 10);
This is the SAFE and fast setting.
Posted : December 7, 2020 23:38
The higher that number is the more speed loss you might experience with logins (and possibly publishing of ads).
I think the default is 10 and the lowest 8, not sure about it. But 10 is ok, we use it for years and this has been talked in the past on Osclass org forums.
Posted : December 7, 2020 23:41