8000 Idea: verse-level SHA-256 integrity manifest so consumers can verify text · Issue #70 · fawazahmed0/quran-api · GitHub
[go: up one dir, main page]

Skip to content

Idea: verse-level SHA-256 integrity manifest so consumers can verify text #70

Open

Description

@spqrxi

Hi — I built a verse-level SHA-256 checksum manifest for the Uthmani Quran text (Ḥafṣ ʿan ʿĀṣim): every surah:ayah maps to a hash of its canonical text, rolled up into per-surah and whole-mushaf root hashes.

Since this API serves Quran text to many downstream apps, a published integrity manifest could let consumers verify that the text they fetched/cached/bundled is exactly the canonical text — any corruption or tampering becomes detectable automatically, like a checksum on a download.

Repo with the manifest, generate/verify scripts, and format spec: https://github.com/spqrxi/quranchecksum

It's built on the Tanzil Uthmani text (verified against the Madinah Mushaf/KFGQPC). Happy to adapt the format, or generate manifests for the specific editions this API serves, if there's interest.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0