iopietro / Travianz-Legacy

Join our Discord Server: https://discordapp.com/invite/9fbJKP9 | New repo: https://github.com/iopietro/Travianz
GNU General Public License v3.0
160 stars 95 forks source link

developing code #516

Closed diogorocha18 closed 6 years ago

diogorocha18 commented 6 years ago

Good evening,

I needed your help because I am developing something quite complex and goatava to present and sure you will want for your next update.

Continuing ... I wonder if it is possible to know the encryption code of the passwords or where it has the details in the code so that I can adapt to what I am creating next.

I await compliments

iopietro commented 6 years ago

Hi, that's how we crypt passwords:

password_hash($password, PASSWORD_BCRYPT,['cost' => 12]);