key = $key; $this->encryptor = $encryptor; } /** * @param string $moduleName * @return string */ public function create(string $moduleName): string { return $this->encryptor->hash( $moduleName . $this->key->get($moduleName), Encryptor::HASH_VERSION_MD5 ); } }