Lines Matching defs:salt
381 * @param bool $addsession if true, the sessionid is added to the salt
398 $salt = io_readFile($file);
399 if (empty($salt)) {
400 $salt = bin2hex(auth_randombytes(64));
401 io_saveFile($file, $salt);
404 $salt .= session_id();
406 return $salt;
1312 * Encrypts a password using the given method and salt
1314 * If the selected method needs a salt and none was given, a random one
1321 * @param string $salt A salt, null for random
1324 function auth_cryptPassword($clear, $method = '', $salt = null)
1337 return $pass->$call($clear, $salt);