Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /stateset_stateset-agents /stateset_agents /utils /credentials.py
| """Non-secret identifiers for high-entropy credentials. | |
| These fingerprints are for logging, ownership, and rate-limit bucketing. They | |
| are not password hashes and must never be used to recover or authenticate a | |
| credential. | |
| """ | |
| from __future__ import annotations | |
| import hmac | |
| _FINGERPRINT_DOMAIN = b"stateset-cred-v1" | |
| def credential_fingerprint(value: str) -> str: | |
| """Return a stable, domain-separated opaque credential identifier.""" | |
| return hmac.digest(_FINGERPRINT_DOMAIN, value.encode("utf-8"), "sha256").hex()[:16] | |
Xet Storage Details
- Size:
- 530 Bytes
- Xet hash:
- 43fb454bc1eb7d2e82b78a5044e39d585fb51fa99b2165e9b35ca2fa5a7d689b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.