MySQL Forums
Forum List  »  PHP

Hashing password in PHP and mySQL
Posted by: Arthur Chan
Date: June 24, 2019 11:25PM

Hello. I am redesigning the User table with a more secure login and need some input on the best (most secure) way to do it.

Is there any topical discussion or current consensus on whether to use MD5, SHA1, CRYPT etc as the most broadly accepted secure hashing algo?

Is the general practice to hash the password in Java or PHP, then upload and use PHP to insert into mySQL CHAR(40) password field?

Options: ReplyQuote


Subject
Written By
Posted
Hashing password in PHP and mySQL
June 24, 2019 11:25PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.