public function setPersonalizationString(string $str = ''): self
    {
        if ($this->personalization !== $str) {
            $this->rootCalculated = false;
        }
        $this->personalization = $str;
        return $this;
    }
public function setPersonalizationString(string $str = ''): self
    {
        if ($this->personalization !== $str) {
            $this->rootCalculated = false;
        }
        $this->personalization = $str;
        return $this;
    }
public function setPersonalizationString ( string $ str = '' ) : self { if ( $ this -> personalization !== $ str ) { $ this -> rootCalculated = false ; } $ this -> personalization = $ str ; return $ this ; }
Sets the personalization string for the Merkle root calculation

@param string $str
@return self
Sets the personalization string for the Merkle root calculation