Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Secure Password Storage | Protecting Sensitive Data
Python Security Best Practices

bookChallenge: 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 ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 6
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

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?

close

Awesome!

Completion rate improved to 5.56

bookChallenge: 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

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 6
single

single

some-alt