Jump to content
  • 0

encrypt password in the account table



I am creating a panel for creating accounts via website.
The problem is that you are unable to encrypt the password to save the password in the account table.
Which command to save the encrypted password in the bank?


$pass1 = base64_encode(pack('H*', sha1(trim($password))));
$pass2 = base64_encode(hash('whirlpool', trim($password), true));

is not work.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock