Lines Matching defs:salt
393 * @param bool $addsession if true, the sessionid is added to the salt
410 $salt = io_readFile($file);
411 if (empty($salt)) {
412 $salt = bin2hex(auth_randombytes(64));
413 io_saveFile($file, $salt);
416 $salt .= session_id();
418 return $salt;
1324 * Encrypts a password using the given method and salt
1326 * If the selected method needs a salt and none was given, a random one
1335 * @param string $salt A salt, null for random
1338 function auth_cryptPassword($clear, $method = '', $salt = null)
1356 return $pass->$call($clear, $salt);