Reader small image

You're reading from  Web App Development Made Simple with Streamlit

Product typeBook
Published inFeb 2024
PublisherPackt
ISBN-139781835086315
Edition1st Edition
Right arrow
Author (1)
Rosario Moscato
Rosario Moscato
author image
Rosario Moscato

Rosario Moscato has a master's degree in electronic engineering, a second level master in internet software design and a first level master's in science and faith. In about 25 years of experience, he has worked on innovative technology development in Europe and Asia. Recently, his interests have been focused exclusively on AI, pursuing the goal of making every business extremely competitive and analyzing the ethical implications deriving from the new scenarios that these disciplines open. Rosario has authored two books, and he is a speaker at international research centres and conferences as well as a trainer and technical/scientific consultant. Currently, he is working as CTO with one of the oldest AI companies in Italy.
Read more about Rosario Moscato

Right arrow

Understanding the logic behind the login and signup page

When a user creates an account on a website or application, they are typically asked to provide a username and password. The username is a unique identifier for the user, while the password is a secret that only the user should know.

The website or application then stores the username and password in a database. However, the password is not stored in plain text. Instead, it’s converted into a hash. A hash is a one-way function, meaning that it is easy to calculate the hash of a password, but it is very difficult to reverse the process and calculate the password from the hash.

This is done for security reasons. If a hacker were to gain access to the database, they would not be able to read the passwords in plain text. They would only be able to read the hashes. Even if the hacker knew the hashing algorithm used, it would still be very difficult for them to crack the password.

When a user logs in, they are asked...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Web App Development Made Simple with Streamlit
Published in: Feb 2024Publisher: PacktISBN-13: 9781835086315

Author (1)

author image
Rosario Moscato

Rosario Moscato has a master's degree in electronic engineering, a second level master in internet software design and a first level master's in science and faith. In about 25 years of experience, he has worked on innovative technology development in Europe and Asia. Recently, his interests have been focused exclusively on AI, pursuing the goal of making every business extremely competitive and analyzing the ethical implications deriving from the new scenarios that these disciplines open. Rosario has authored two books, and he is a speaker at international research centres and conferences as well as a trainer and technical/scientific consultant. Currently, he is working as CTO with one of the oldest AI companies in Italy.
Read more about Rosario Moscato