Challenge: Secure Password Storage
Tâche
Swipe to start coding
Write a function that accepts a password and returns its hash using a standard library hash function. The password itself must never be stored or returned.
Steps:
- Accept a password as a parameter.
- Hash the password using a standard library hash function.
- Return the resulting hash as a string.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 6
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Can you explain that in simpler terms?
What are the main benefits of this approach?
Are there any common mistakes to avoid with this?
Awesome!
Completion rate improved to 5.56
Challenge: Secure Password Storage
Glissez pour afficher le menu
Tâche
Swipe to start coding
Write a function that accepts a password and returns its hash using a standard library hash function. The password itself must never be stored or returned.
Steps:
- Accept a password as a parameter.
- Hash the password using a standard library hash function.
- Return the resulting hash as a string.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 6
single