Lines Matching refs:salt
369 * @param bool $addsession if true, the sessionid is added to the salt
386 $salt = io_readFile($file);
387 if (empty($salt)) {
388 $salt = bin2hex(auth_randombytes(64));
389 io_saveFile($file, $salt);
392 $salt .= session_id();
394 return $salt;
1300 * Encrypts a password using the given method and salt
1302 * If the selected method needs a salt and none was given, a random one
1309 * @param string $salt A salt, null for random
1312 function auth_cryptPassword($clear, $method = '', $salt = null)
1325 return $pass->$call($clear, $salt);