Python Forum
Is there a Python equvalent to PHP password_hash()?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a Python equvalent to PHP password_hash()?
#6
What are using to make that web-page?
Often with security is better to follow something that's made for this,it's easy to step wrong if trying to do it yourself.
Example Flask has flask-security or eg Flask-Bcrypt
flask-security Wrote:
  • Use OWASP to guide best practice and default configurations.
  • Migrate to more modern paradigms such as using oauth2 and JWT for token acquisition.
  • Be more opinionated and 'batteries' included by reducing reliance on abandoned projects and bundling in support for common use cases.

Django follow batteries included model,Password management in Django.
Django Wrote:By default, Django uses the PBKDF2 algorithm with a SHA256 hash, a password stretching mechanism recommended by NIST.
This should be sufficient for most users: it’s quite secure, requiring massive amounts of computing time to break.
Reply


Messages In This Thread
RE: Is there a Python equvalent to PHP password_hash()? - by snippsat - Jun-28-2020, 10:11 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020