Skip to content

encrypt password in the account table

Featured Replies


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.

first must be.

which pack u using?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.