Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _create_confirmation_params(self, tag_string: str) -> dict:
timestamp = int(time.time())
confirmation_key = guard.generate_confirmation_key(self._identity_secret, tag_string, timestamp)
android_id = guard.generate_device_id(self._my_steam_id)
return {'p': android_id,
'a': self._my_steam_id,
'k': confirmation_key,
't': timestamp,
'm': 'android',
'tag': tag_string}