private function generateActivationToken(): string
    {
        $this->setSize(32);
        $this->generateRandomToken();

        $this->activation_token = hash('sha256', $this->token);

        return $this->activation_token;
    }
private function generateActivationToken(): string
    {
        $this->setSize(32);
        $this->generateRandomToken();

        $this->activation_token = hash('sha256', $this->token);

        return $this->activation_token;
    }
private function generateActivationToken ( ) : string { $ this -> setSize ( 32 ) ; $ this -> generateRandomToken ( ) ; $ this -> activation_token = hash ( 'sha256' , $ this -> token ) ; return $ this -> activation_token ; }
Generates a random sha265 token
Generates a random sha265 token