Blog Post Submission and Display

This view function passes the form and the complete list of blog posts to the template. The list of posts is ordered by timestamp, in descending order.

Hashing Passwords with Werkzeug

Werkzeug’s security module conveniently implements secure password hashing. This functionality is exposed with just two functions, used in the registration and verifica‐ tion phases, respectively:

Password Security

The key to storing user passwords securely in a database relies on not storing the password itself but a hash of it. A password hashing function takes a password as input, adds a random component to it (the salt), and then applies several one-way cryptographic transformations to it.

1 2 3

Our Sidebar

You can put any information here you'd like.

  • Latest Posts
  • Announcements
  • Calendars
  • etc