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

bookChallenge: Secure Password Storage

Oppgave

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.

Løsning

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 6
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

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

bookChallenge: Secure Password Storage

Sveip for å vise menyen

Oppgave

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.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 6
single

single

some-alt