https://dev.kronoz.win/r/marzneshin.git
| 1 | a47eb4c | Dawsh | 2y ago | import xxhash |
| 2 | a47eb4c | Dawsh | 2y ago | import uuid |
| 3 | a47eb4c | Dawsh | 2y ago | |
| 4 | 01cdf2e | Dawsh | 2y ago | |
| 5 | a47eb4c | Dawsh | 2y ago | def gen_uuid(key: str) -> str: |
| 6 | a47eb4c | Dawsh | 2y ago | return str(uuid.UUID(bytes=xxhash.xxh128(key.encode()).digest())) |
| 7 | a47eb4c | Dawsh | 2y ago | |
| 8 | 01cdf2e | Dawsh | 2y ago | |
| 9 | a47eb4c | Dawsh | 2y ago | def gen_password(key: str) -> str: |
| 10 | a47eb4c | Dawsh | 2y ago | return xxhash.xxh128(key.encode()).hexdigest() |