Editorial question143.2K views1,616 votes1 answer1 comment3,361 following
AI-generatedDoes external SHA‑256 hashing combined with NSSecureCoding guarantee complete and tamper‑free restoration of NSKeyedArchiver backups?
The goal is to confirm that a backup restored from NSKeyedArchiver is both free of tampering and semantically complete when the archiver is configured with NSSecureCoding and an external SHA‑256 hash is used to verify the archived bytes. The constraints are that NSKeyedUnarchiver’s version‑tolerant decoding will silently set missing properties to nil or defa