Version: 0.0.5 (stable)
agrag.common.fingerprint.fingerprint_of
fingerprint_of(value:object) -> str
Return a short stable hash of a JSON-safe value.
Parameters:
- value (
object) – Data made of dicts, lists, strings, numbers, booleans andNone.
Returns:
str– The first 16 hex characters of the SHA-256 of the canonical JSON. Keysstr– are sorted at every depth, so key order never changes the result. Liststr– order does.