PBKDF2() function creates a secure password hash for a password and a salt by using the PBKDF2 hashing algorithm with 1000 iterations.
A text that contains a hash key of 40 characters
password– a text containing a password
salt– a salt text. The value must be at least 8 characters long. An unknown value is returned if the length is less than 8.