what I am trying to do is a command line sign in. The user puts in their credentials like this:
username = str(input('Username: '))
password = str(input('Password: '))
However, when they put in the password, I want it to be hashed on the command line. So for example, they type in "Password" with their keyboard, and that is how the program recognizes it, but on their screen it is hashed to be ********, so they can't see their own password like on a lot of websites. However, I can't find any way to do this. How would you go about doing this?