SANJIESAN TOOLS / Resource verification
Record what a resource checksum actually covers
A checksum is useful only when the compared input is clear. A digest of an archive, an extracted file and a text representation are three different records. Before adding a hash to a resource manifest, say exactly which input it covers. Keep that statement separate from questions about content quality, origin or permission to use the resource.
Name the input and operation
Record the exact file role and algorithm, such as SHA-256 of the delivered archive bytes. Node’s crypto documentation describes hash digests computed from supplied data, including a file example. If your process first decodes text or serialises an object, state that transformation; it is not the same input as the original file bytes. Avoid naming every record simply file hash when different steps measure different representations.
Compare the intended pair
For a handoff, obtain the intended sender and recipient copies and compute using the same documented operation. Keep the result beside the file identification. If values differ, inspect which input or packaging step changed before concluding that the artwork itself changed. If they match, state the narrow comparison made and preserve the evidence. Do not use a checksum to assert who created the work or whether its contents are safe or correctly licensed.
Keep review scope readable
Write which files were included, which were not available and when the comparison occurred. A package can include a matching preview while an unmeasured editable source differs. Keep those roles explicit in the manifest. If the file is later re-exported, generate a new record for that output rather than carrying the old value forward. No resource checksum was calculated for this article; the example describes a traceable comparison, not evidence about a particular download.