Facebook Pixel

What should a profile API return instead of the stored password hash?

Return only the profile fields required by the interface, such as the display name and permitted account details. Exclude password hashes and authentication secrets from responses.

Explore This Question

Search for additional explanations using these tools:

More FAQs in How should user passwords be stored in a database?

Ordinary login does not require recovering a password. Use adaptive hashing for verification and provide a secure reset flow instead of storing a recoverable original value.

No. A salt prevents identical passwords from producing the same stored result and can accompany the hash. Keep actual passwords and any optional pepper secret.

Still have questions?

Browse all our FAQs or reach out to our support team

Want to upskill yourself?

Our courses are taking a Coffee break, but your curiosity shouldn't. Stay engaged with namastedev linkedin, youtube, discord and other resources while you wait.

0