ThatsNasu / Fiae-DE

Webpage for the users / members of the FIAE-D / FIAE-E classes 2021.
https://fiaede.bitbite.dev
4 stars 1 forks source link

Passwords should be stored and checked using secure algorithms #61

Closed netcodedev closed 2 years ago

netcodedev commented 2 years ago

Passwords should be encrypted using a secure algorithm, such as bcrypt. use PHP functions password_hash($password, PASSWORD_DEFAULT); to hash and password_verify($password, $hash) to verify a password