composite-checksum · shipping · also Multipart composite checksum, COMPOSITE checksum

Composite checksum

A composite checksum is an object-level integrity value formed by combining the ordered checksums of the object's upload parts under a specified construction.

S3 distinguishes COMPOSITE from FULL_OBJECT. [1] For multipart SHA-256, the documented construction hashes the concatenated binary part digests and returns the Base64 digest with a part-count suffix; hashing the assembled file once is a different construction. [2]

For completed-object verification, request ObjectParts, ObjectSize and Checksum through GetObjectAttributes. Unrequested attributes are omitted. Use the same selected non-null version for metadata and payload requests where available. [5] [3]

If IsTruncated is true, continue with NextPartNumberMarker as the next request's PartNumberMarker. TotalPartsCount counts all parts, not just the current page. Boto3 uses this name; the raw XML element is PartsCount. [5] [8] For general-purpose buckets, Parts can be absent when no additional checksum was applied; absence is not proof of an empty object. [6]

Verification guidance: retain ordered part identities and byte sizes, reject duplicate identities or an incomplete reported part count, and check their total against ObjectSize and received length. Hash the received bytes at those boundaries. Recombining server-reported digests alone checks metadata consistency, not the downloaded payload. [7] [2]

Relations

related
Checksum, Full-object checksum, Multipart upload, Entity tag, Object storage, Base64, CRC concatenation

Advantages

  • Part checksums can be validated independently before their ordered digests are combined into the object's composite checksum. [2]

Limitations

  • Verification requires the original part boundaries, part order and specified algorithm; a different multipart layout can change the value without changing the assembled bytes. [2]
  • For S3 GetObject, request ChecksumMode ENABLED and inspect ChecksumType alongside the algorithm field; the ETag is a separate validator, not a substitute checksum. [3]

Citations

  1. Amazon S3: Checking object integrity for data uploads, full-object and composite checksum types (accessed 2026-10-16)
  2. Amazon S3 tutorial: Upload an object through multipart upload and verify its data integrity, step 9 (accessed 2026-10-16)
  3. Amazon S3 API Reference: GetObject, checksum mode, checksum type and ETag (accessed 2026-10-16)
  4. Amazon S3 API: GetObjectAttributes, selected metadata and version ID (accessed 2026-11-29)
  5. Amazon S3 API: GetObjectAttributesParts, continuation and absent part metadata (accessed 2026-11-29)
  6. Amazon S3 API: ObjectPart, part identity and byte size (accessed 2026-11-29)
  7. Boto3: get_object_attributes response structure and TotalPartsCount (accessed 2026-11-30)

Further reading

  1. Hesela: Object ETags, multipart checksum scope and download verification (accessed 2026-10-16)
Sources & caveats
  • Expanded from official AWS API documentation reviewed 2026-11-29. Verification recommendations are a source-based synthesis, not an executed S3 downloader or cloud-service experiment.

JSON: /data/terms/composite-checksum.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Composite checksum. Hesela. 2026-11-30. https://hesela.dev/terms/composite-checksum/