Vendor/phpspreadsheet/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Document/Security.php
public function setRevisionsPassword($pValue, $pAlreadyHashed = false)
    {
        if (!$pAlreadyHashed) {
            $pValue = PasswordHasher::hashPassword($pValue);
        }
        $this->revisionsPassword = $pValue;

        return $this;
    }
public function setRevisionsPassword($pValue, $pAlreadyHashed = false)
    {
        if (!$pAlreadyHashed) {
            $pValue = PasswordHasher::hashPassword($pValue);
        }
        $this->revisionsPassword = $pValue;

        return $this;
    }
Set RevisionsPassword.

@param string $pValue
@param bool $pAlreadyHashed If the password has already been hashed, set this to true

@return Security