Password Encryption / Decryption

I’ve watched the Videos https://www.dmxzone.com/go/32652/using-password-encryption-with-login and https://wapplerunwrapped.online/videoplayer.php?id=22 , also searched around the forum, but the Register + Login steps arent neat eplained together… So this below is not clear to me :slight_smile:

I need to SALT password or HASH them or Encrypt / Decrypt? ¨

As far as I know that “SALT KEY” can be anything and should kept secretly for generating the random passwords. But now I’m just getting everytime the same passwords hashed/salted for ALL users … pfff

  1. Register Form
  2. Get $password als cleartext and store it (Hashed, EncryptPassword, Salted???) ?

Then Login step would be:

  1. Login Form
  2. Get $password and compare it to stored value from DB and Encrypt or Hash or Salt it?

image

Maybe

Community Page
Last updated: