src/Token.php
public function generateHash(): string
    {
        $h = sprintf('%s%s%s', (string)$this->getIdentificator(), $this->getExpiration(), $this->getSecret());
        $h = md5($h, true);
        $h = self::base64url_encode($h);
        return $h;
    }
public function generateHash(): string
    {
        $h = sprintf('%s%s%s', (string)$this->getIdentificator(), $this->getExpiration(), $this->getSecret());
        $h = md5($h, true);
        $h = self::base64url_encode($h);
        return $h;
    }
public function generateHash ( ) : string { $ h = sprintf ( '%s%s%s' , ( string ) $ this -> getIdentificator ( ) , $ this -> getExpiration ( ) , $ this -> getSecret ( ) ) ; $ h = md5 ( $ h , true ) ; $ h = self :: base64url_encode ( $ h ) ; return $ h ; }
Generate new hash for identificator

@return string
Generate new hash for identificator