Digested-Tile 2024-09-12

Authors:: Bry B., Jonny S., and WikiWe contributors License:: CC BY-SA 4.0 Digest Root:: fd55c2334e6b

MarkdownTile

Digest Tag: Content-Addressable Mark and Tile Index

Digest tags are a crucial component of the Doc Seal Protocol, serving as both a tamper-verifiable stamp and a content-addressable index for tiles. This concept is inspired by content-addressable storage systems used in distributed file systems and version control systems. In the context of Doc Seal, digest tags ensure unique identification and integrity of the information digested at a specific point in time.

The creation of digest tags involves a multi-step process:

  1. Deformatting: The tile content is stripped of formatting (markdown) syntax while preserving the core information. This process enables consistent hashing regardless of visual styling.
  2. Hashing: A SHA-256 hash is computed for the deformatted tile. For efficiency, this hash is truncated to 12 characters, providing a balance between uniqueness and compactness [^3].
  3. Tag Generation: The digest tag is created in the format #ds/{hash}/{YYYY-MM-DD}, where {hash} is the truncated SHA-256 hash, and {YYYY-MM-DD} is the digestion date.

This process is analogous to Bitcoin’s transaction hashing, but tailored for content management. It provides several key benefits:

  1. Integrity Verification: Any change to the tile content will result in a different hash, making alterations immediately detectable.
  2. Efficient Indexing: The hash-based tags allow for quick lookup, referencing, and retrieval of specific content blocks.
  3. Version Tracking: The inclusion of the date in the tag enables easy tracking of content changes over time.
  4. Authorship & License: The inclusion of authorship and license in the tile index can enable contributor attribution and IP protection use cases.

A concatenation of the digest tags within a document can be hashed to compute a digital fingerprint of the entire document without needing to expose the contents for first-level tamper-verification.

DeformattedTile

Digest Tag: Content-Addressable Mark and Tile Index Digest tags are a crucial component of the Doc Seal Protocol, serving as both a tamper-verifiable stamp and a content-addressable index for tiles. This concept is inspired by content-addressable storage systems used in distributed file systems and version control systems. In the context of Doc Seal, digest tags ensure unique identification and integrity of the information digested at a specific point in time. The creation of digest tags involves a multi-step process:

  • Deformatting: The tile content is stripped of formatting (markdown) syntax while preserving the core information. This process enables consistent hashing regardless of visual styling.
  • Hashing: A SHA-256 hash is computed for the deformatted tile. For efficiency, this hash is truncated to 12 characters, providing a balance between uniqueness and compactness [^3].
  • Tag Generation: The digest tag is created in the format #ds/{hash}/{YYYY-MM-DD}, where {hash} is the truncated SHA-256 hash, and {YYYY-MM-DD} is the digestion date. This process is analogous to Bitcoin’s transaction hashing, but tailored for content management. It provides several key benefits:
  • Integrity Verification: Any change to the tile content will result in a different hash, making alterations immediately detectable.
  • Efficient Indexing: The hash-based tags allow for quick lookup, referencing, and retrieval of specific content blocks.
  • Version Tracking: The inclusion of the date in the tag enables easy tracking of content changes over time.
  • Authorship & License: The inclusion of authorship and license in the tile index can enable contributor attribution and IP protection use cases. A concatenation of the digest tags within a document can be hashed to compute a digital fingerprint of the entire document without needing to expose the contents for first-level tamper-verification.
EOT