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

bookChallenge: Secure Password Storage

Tehtävä

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.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 6
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

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

Pyyhkäise näyttääksesi valikon

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 3. Luku 6
single

single

some-alt