MySQL Forums
Forum List  »  Security

Re: How to Generate a Salt Binary(64) Value??
Posted by: Arthur Chan
Date: January 23, 2019 01:44AM

I was thinking along the line:
     INSERT INTO users (firstname, lastname, password)
     VALUES('Joe', 'Bloggs', SHA2('secret', 512));
The SHA2 was generating an sql error...

But then, the password is uploaded from Java using https via PHP to mySQL and along the way, it would be visible.

Would appreciate advice and insight.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to Generate a Salt Binary(64) Value??
531
January 23, 2019 01:44AM


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.