Module genshin.utility.ds
Dynamic secret generation.
Functions
def generate_cn_dynamic_secret(body: Any = None, query: Optional[Mapping[str, Any]] = None, *, salt: str = 'xV8v4Qu54lUKrEYFZkJhB8cuOh9Asafs') ‑> str
-
Create a new chinese dynamic secret.
def generate_dynamic_secret(salt: str = '6s25p5ox5y14umn1p61aqyyvbvvl3lrt') ‑> str
-
Create a new overseas dynamic secret.
def generate_geetest_ds(region: Region) ‑> str
-
Create a dynamic secret for geetest API endpoint.
def generate_passport_ds(body: Mapping[str, Any]) ‑> str
-
Create a dynamic secret for Miyoushe passport API.
def get_ds_headers(region: Region, data: Any = None, params: Optional[Mapping[str, Any]] = None, lang: Optional[str] = None) ‑> dict[str, typing.Any]
-
Get ds http headers.