Osclass bcrypt() se...
 
Notifications
Clear all

Osclass bcrypt() settings

3 Posts
3 Users
0 Reactions
357 Views
(@macoto)
Posts: 1
New Member
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
Johannes de Sacrobosco
(@johannes-de-sacrobosco)
Posts: 83
Member Moderator
 

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
Editor
(@editor)
Posts: 553
Honorable Member Admin
 

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