source/utils/hash_generator library

Classes

DatumHashGenerator
Utility for generating consistent hashes for data integrity checks.
DatumRollingHash
An incrementally maintainable set hash for change/drift detection.

Functions

datumEntityDigest(Map<String, dynamic> map) Uint8List
Computes the canonical 32-byte SHA-256 digest of a single serialized entity map. Map keys are sorted recursively so the digest is independent of key insertion order (local vs remote serialization).