(sapisid: str)
| 127 | |
| 128 | |
| 129 | def make_sapisidhash(sapisid: str) -> str: |
| 130 | ts = int(time.time()) |
| 131 | h = hashlib.sha1(f"{ts} {sapisid} https://gemini.google.com".encode()).hexdigest() |
| 132 | return f"SAPISIDHASH {ts}_{h}" |
| 133 | |
| 134 | |
| 135 | def account_prefix() -> str: |
no outgoing calls
no test coverage detected