Module genshin.utility.auth

Auth utilities.

Functions

def encrypt_credentials(text: str, key_type: Literal[1, 2]) ‑> str

Encrypt text for geetest.

def generate_sign(data: dict[str, typing.Any], key: str) ‑> str

Generate a sign for the given data and app_key.