help desk
Lors du stockage des mots de passe, il est important de ne jamais les stocker en PLAINTEXT, non seulement pour des raisons de sécurité, mais c'est aussi illégal ! Comment puis-je m'assurer qu'il est sécurisé.
When storing passwords, it is important to never store them in PLAINTEXT, not only for security purposes, but it's also illegal!
To safely store a password, you should be using a hashing algorithm (MD5, BCRYPT, etc) along with a salt
Prerequisites:
In your database, a field for each: the username, password, salt, and hashing method (if you plan on having multiple hashing methods)
TO STORE THE PASSWORD:
TO VERIFY THE PASSWORD:
Répondu le : 2022-01-12 10:43:00