Jump to content

password encryption crypt()


182x

Recommended Posts

The .v is called the salt. I am not completely clear on what purpose the salt serves. Yes it can be anything. If you just use crypt($string) then it will auto-generate a 2 digit salt.

 

Yes is is a good method of encryption. Be aware that it is a one way encryption and cannot be decrypted. But you don't want passwords to be decrypted anyway.

 

hope this helps

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.