Thanks, I use these sort of things all the time in my python homework to surprise my teacher and I think this is awesome.
@tpbarratt
5 жыл бұрын
I've just come across this video and found it very clear and useful. Now subscribed and looking forward to learning more about Python. Thanks Julian!
@juliannash3590
5 жыл бұрын
Awesome! Welcome on board!
@maxyulu
4 жыл бұрын
Great tutorial! Thank you. Also just subscribed and hopefully you gonna make more tutorials.
@lydiayoussef8162
3 жыл бұрын
Thank you very much for this video, I have been struggling for 2 hours now, I wish I had watched this video earlier!
@Parzalai
2 жыл бұрын
Damn bro you explained this so well I'm gonna hash everything now
@jayaramkulkarni4989
4 жыл бұрын
Thanks, was facing that problem discussed in video at 5:30. It was really helpful.
@lostfrequentie_7476
3 жыл бұрын
with like a Tkinter Entry its input = Entry1.get() cryp = bytes(input, encoding="utf-8") result = bcrypt.hashpw(cryp, bcrypt.gensalt()) print(result)
@franzbiberkopf9179
4 жыл бұрын
Thank you very much for this. But how would you hide the password in the source code of your web-page? Would it be enough to create a dummy page with the password and to import the hashed password in the main code of the application?
@simrakausar6271
3 жыл бұрын
I get error "invalid salt" in checkpw. I m writing a code for password authentication using socket programming in python.
@rryann088
3 жыл бұрын
THANK YOU VERY MUCH! Helped a lot ! Thanks again !! :)
@data9051
2 жыл бұрын
is there any way you could drop a tutorial similar to this that would include peppering
@anujlahoty8022
4 жыл бұрын
Awesome tutorial!
@NunoLima10
2 жыл бұрын
Great video
@EnglishRain
2 жыл бұрын
Fantastic explanation thanks a lot!
@jdchannelviewer
4 жыл бұрын
If I have access to the hash file, why don't I just replace it with Hashes that I know??? Then access the system with my own set of passwords populating it...
@annietabuanaba8458
5 жыл бұрын
thanks for the tutorial...
@juliannash3590
5 жыл бұрын
You're welcome! Glad you enjoyed it
@adamhughes5527
5 жыл бұрын
Cheers dude!
@finessegod2645
3 жыл бұрын
great content bro keep it up, ill be subscribing
@keytetra5093
7 ай бұрын
where did Julian go?
@michellemassaad1013
4 жыл бұрын
What app where you typing on before python ???
@jsceo
4 жыл бұрын
if hashing is irreversible how checkpw checks if our password matches hash? don't get it
@NotKewl
4 жыл бұрын
The password typed in by the user is hashed, this is compared to the stored hash.
@jsceo
4 жыл бұрын
@@NotKewl but it is hashed with random salt, so how later can be it compared?
@karolmarkiewicz6526
4 жыл бұрын
i dont get it as well, randomly spotted your comment while was watching yt and looking for an answer
@djadamkent
4 жыл бұрын
It won’t work unless the salt is the same, otherwise you just end up with a completely different hash each time that can’t be compared. Usually the salt would be generated once and stored as an environment variable on the server.
@jsceo
4 жыл бұрын
@@djadamkent but it actually works
@raghavnegi713
3 жыл бұрын
Thanks a thousand!!!!!!!!!
@0xsuperman
2 жыл бұрын
I get what this python tutorial and the lines of this script, thanks. But I am confused how this can be implemented in a production environment. Let's say I have an API key. I will use this to obtain a hashed API key and save it somewhere. In run time, do I ask user to enter the original string of the API key, and then I will hash this user-input API key, and then compare the newly hashed API key vs. the stored hashed API key? If so, how can I be sure when I use `bcrypt.hashpw()` on the newly entered API key, the resulting hashed string will be the same as the stored one? Can/should I save the `hashed = bcrypt.hashpw(password, bcrypt.gensalt())` inside the project directory, so when I hash the new API key, it should result the same hashed string?
@mortezamashary187
4 жыл бұрын
How we can hash the user input password???
@gandalfgrey91
9 ай бұрын
I do not like the idea of having to grab the password from the database in order to run a check
@MatteoMenozzi
3 жыл бұрын
i must crypt some fields in db with python can i use the method who yyou show in this video ?
@daedricpedgey9667
5 жыл бұрын
Shame that you stopped uploading tbh😢
@juliannash3590
5 жыл бұрын
Got some new videos coming next week!
@biohazard7785
3 жыл бұрын
How would i pass in a user input as the password? I keep getting the "TypeError: can only concatenate str (not "bytes") to str" error. Would it have to be something like username = input("username: ") Or would something need to go before it?
Пікірлер: 46