public function createPasswordHash($password) { try { return $this->driverInstance->createPasswordHash($password); } catch (\Exception $e) { throw new CryptException($e->getMessage()); } }
/** * Create a hash for the given password. * * @param string $password * * @return string Password hash. */ public function createPasswordHash($password) { return $this->instance->createPasswordHash($password); }