Secure PHP Password Hashing: Verifying Passwords

Secure PHP Password Hashing: Verifying Passwords

Codecourse

10 лет назад

39,812 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@SPYAGR
@SPYAGR - 07.01.2023 22:15

Good hacker

Ответить
@kriziacarissepangan1590
@kriziacarissepangan1590 - 14.04.2021 19:29

Thanks, sir!

Ответить
@alfonsedes8505
@alfonsedes8505 - 20.04.2019 14:22

This help a lot dude, thanks. thumbs up

Ответить
@Icyman
@Icyman - 22.11.2018 18:29

i am returning the password hash from db and it says it doesnt verified also if I copy paste the hash from db and make a verify myself then its working. But the returing result of the password is the same string. So wat am I doing wrong?

Ответить
@rw7799
@rw7799 - 23.03.2018 23:42

12 what? what can it handle? thx

Ответить
@Dexter101x
@Dexter101x - 06.12.2017 04:15

Do these password expire if you don't login for a certain amount of time?

Ответить
@naamaortiz
@naamaortiz - 20.11.2017 10:25

thanks, very good video. Remember, alter your column (password) of database to 60

Ответить
@davidbeczuk3740
@davidbeczuk3740 - 13.10.2017 12:22

This is not vert helpful, I am trying to find an example of how to verify against a database. Storing the password in a variable is easy to verify, but how do you retrieve the hashed password from the database?

Ответить
@praquefazerissoOFICIAL
@praquefazerissoOFICIAL - 06.06.2017 05:27

very good

Ответить
@UK012
@UK012 - 11.11.2016 22:02

While this is fairly straight forward, getting it to check the hash'd passwords in the database is not. As surely putting the hash value of a user's password in the php file for verifiying is not practical, insecure and time consuming. As when entered passwords to login, for me it only validates if it's exactly how it's written in the database password field, so a password that's been stored as a hash value in the database only authenticates if that long hash string was entered into the password field if this makes any sense. If I entered the password I hash'd it would return a failed login attempt as it's expecting the long hash string.

Been trying to look around how to do this and not found anything relevent or straight forward. Been at this for a few days now and it's quite frustrating :/

Ответить
@larsjorgen
@larsjorgen - 02.05.2016 05:53

Great series - very informative and straight forward. Thank you!

Ответить
@kezzu5849
@kezzu5849 - 07.01.2016 15:19

hi, great videos. I don't study computer science or cryptography so could someone explain why this algorithm can't be backwards engineered to give the original password? I mean hasn't the algorithm been published?

Ответить
@FolkenXD
@FolkenXD - 03.09.2015 06:33

Thank you,
I had so much trouble to understand the password_hash and verify concept.
So glad to finally got it :)
Big thanks !!

Ответить
@joshuambewe5932
@joshuambewe5932 - 13.03.2015 21:53

very good video. I like it. I've tried it storing it in the database which was successful but upon verifying it, it returns a false value. If I do it manually (like this video) it returns true. May you please help?

Ответить
@MrGoatsy
@MrGoatsy - 02.11.2014 01:48

If you do:
$test = 'abc';

echo password_verify($abc, $stored_password);

It doesn't seem to work while it should echo a 0, because it is false.

Ответить
@VFRSubs
@VFRSubs - 17.05.2014 23:03

Cool.
Thanks for the explanation.

Ответить
@m0t0r2011
@m0t0r2011 - 31.03.2014 15:34

Thank u bro so much !!

Ответить
@paul23768
@paul23768 - 26.03.2014 17:28

how can use this verify password in register and login example

Ответить
@ren642653
@ren642653 - 18.03.2014 10:27

Such simple explanations, thanks!

Ответить
@ArnoldsKtm
@ArnoldsKtm - 17.03.2014 15:09

This is quite silent.

Ответить