encryptor = $encryptor; } /** * {@inheritdoc} */ public function generate($topicName) { return $this->encryptor->hash(uniqid($topicName)); } }