Many single-player games with online leaderboards store save files as human-readable JSON files in AppData. Within minutes of launch, players open the file, alter currency values to 999999, and invalidate leaderboard integrity.
HMAC Signature Verification
Before saving, generate an HMAC-SHA256 hash using the save file bytes combined with a hardware-derived machine token or game salt. On boot, recalculate the hash. If a single byte was altered in a text editor, discard the corrupted file gracefully.