[USER=311]@MicroMonkey[/USER] [USER=20288]@m-jay[/USER] [USER=3]@Munk[/USER] [USER=1]@DarkMaster[/USER]
This is a real security issue with torrenttrader. Storing passwords as md5 or sha1, or hmac is a GREAT security problem and will take less than 1 minute to decrypt those passwords.
We need to implement for example: bcrypt or sha512_bcrypt or argon2 encryption methods to enhance the security of the users and administrators at the same time if the site gets breached.
https://www.php.net/manual/en/function.password-hash.php <- here is a manual of implementing bcrypt as it is built-in for PHP.
PS: Cryptographically Argon2i and Argon2id are somewhat more strong than bcrypt hashing.
Argon2i requires PHP 7.2 >= and Argon2id PHP 7.3 >=.
We can add default value for Argon or bcrypt cost and explain that higher number = better security, but slower performance.
Also, we need auto-generated salt for passwords.
Lastly:
We need to include an option to rewrite new hash method for existing users when they login with plain password in login form.
If we make this, torrenttrader can be really safe for use.
Example: http://john.cuppi.net/migrate-from-md5-to-bcrypt-password-hashes/
This is a real security issue with torrenttrader. Storing passwords as md5 or sha1, or hmac is a GREAT security problem and will take less than 1 minute to decrypt those passwords.
We need to implement for example: bcrypt or sha512_bcrypt or argon2 encryption methods to enhance the security of the users and administrators at the same time if the site gets breached.
https://www.php.net/manual/en/function.password-hash.php <- here is a manual of implementing bcrypt as it is built-in for PHP.
PS: Cryptographically Argon2i and Argon2id are somewhat more strong than bcrypt hashing.
Argon2i requires PHP 7.2 >= and Argon2id PHP 7.3 >=.
We can add default value for Argon or bcrypt cost and explain that higher number = better security, but slower performance.
Also, we need auto-generated salt for passwords.
Lastly:
We need to include an option to rewrite new hash method for existing users when they login with plain password in login form.
If we make this, torrenttrader can be really safe for use.
Example: http://john.cuppi.net/migrate-from-md5-to-bcrypt-password-hashes/
