It is often claimed that passwords do not get saved as plaintext anywhere in systems, and even the system administrator does not know your password. Given what you learned about hash functions. Explain how such a claim is possible.
(Python) It is often claimed that passwords do not get saved as plaintext anywhere in systems, and even the system administrator does not know your password. Given what you learned about hash functions. Explain how such a claim is possible.
In other words, how do systems perform authentication without having to store passwords in a format that can be read by the system administrators? Authentication is primarily the process of verifying that provided password is correct. Provide a pseudo code for the function login:
def signup(username, password):
'''store the user credential so that the system knows how to
authenticate the user in the future (when login() gets called).'''
def login(username, password):
'''returns True, if the provided username and password are correct'''
Trending now
This is a popular solution!
Step by step
Solved in 3 steps