Challenge: Secure Password Storage
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 6
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
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?
Чудово!
Completion показник покращився до 5.56
Challenge: Secure Password Storage
Свайпніть щоб показати меню
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 6
single