A Secure Blockchain Framework for Storing Historical Text: A Case Study of the Holy Hadith

Khaled M. Awad, Mustafa ElNainay, Mohammad A. R. Abdeen, Marwan Torki, Omar Saif, Emad NabilComput 2022 · OpenReview

TL;DR

This paper introduces a secure blockchain framework for preserving the integrity of historical texts, specifically focusing on the Holy Hadith. By leveraging a permissioned blockchain and a consensus mechanism involving specialized Islamic institutions, the system aims to prevent fabrications and ensure the authenticity of these crucial religious texts.

What Problem Does This Paper Address?

Historical texts, like the Holy Hadith, are foundational for understanding cultures and religions. However, the proliferation of online resources has made it increasingly difficult to verify the authenticity of these texts, leading to the potential for fabrications and alterations. This poses a significant challenge for preserving the integrity and trustworthiness of religious and historical information, especially for a global religion like Islam, which relies heavily on the Quran and Hadith for guidance. The paper addresses the need for a robust, secure, and tamper-proof method to archive and authenticate these historical records.

Methods

The authors propose a solution built upon a permissioned blockchain framework, specifically utilizing Hyperledger Fabric v1.4. This approach differs from public blockchains by restricting participation to authorized entities, in this case, well-established Islamic institutions responsible for Hadith validation. The system employs a consortium blockchain model where multiple organizations collaborate to manage the network and validate data.

Key methodological aspects include:

  • Decentralized Data Storage: Hadiths are stored across distributed ledger nodes, making them immutable and resistant to single points of failure or manipulation.
  • Crowd Wisdom for Validation: The insertion of new Hadiths requires a consensus among the participating nodes, with a 50% + 1 approval threshold. This leverages the collective intelligence of trusted institutions.
  • Practical Byzantine Fault Tolerance (pBFT): To handle potential malicious or misguided information during consensus, the system incorporates pBFT, a consensus algorithm designed to tolerate a certain number of faulty or malicious nodes.
  • Customized Validation Models: Each participating institution can apply its own Hadith validation model, potentially incorporating AI and machine learning for natural language processing and narrator reliability assessment.
  • Client-Server Architecture: A REST server provides APIs for users to interact with the blockchain, enabling read and write operations.

Datasets

Not discussed in the paper. The paper focuses on the framework and its evaluation, not on training models with specific datasets.

Key Insights and Ideas

  • Blockchain for Historical Preservation: The paper demonstrates a novel application of blockchain technology beyond its common use in finance and cryptocurrencies, highlighting its potential for preserving cultural and religious heritage.
  • Permissioned Blockchain for Trust: By using a permissioned model with trusted institutions, the system balances decentralization with the need for authoritative validation, which is crucial for sensitive historical texts.
  • "Crowd Wisdom" as a Security Feature: The consensus mechanism, requiring majority approval from participating institutions, acts as a powerful deterrent against malicious data insertion or alteration.
  • Self-Healing with pBFT: The integration of pBFT provides resilience against network attacks or internal collusion, ensuring the system can recover from faulty consensus.
  • Scalability and Flexibility: The Hyperledger Fabric framework allows for the network to be extended with more organizations and channels as needed, offering flexibility for future growth.

Key Results

The paper evaluates the proposed framework's performance in terms of read and write operations.

  • Read Operations: The system demonstrates relatively low response times for reading Hadiths from the blockchain. Using two concurrent threads showed improvement, with an average response time of 91.522 ms for 1000 requests and 144.441 ms for 2000 requests. The throughput for 2000 read requests was approximately 11.51 transactions per second.
  • Write Operations: Insertion (write) operations were found to be slower, as expected due to the validation and consensus processes. The paper shows that using multithreading decreases insertion time, with an average response time of 2345.715 ms for 500 requests using two threads.

Limitations and Future Work

  • Performance Bottleneck: The paper acknowledges that insertion (write) operations are inherently slower than read operations due to the blockchain's validation and consensus mechanisms.
  • Scalability of pBFT: While pBFT is efficient, the authors note that it does not scale efficiently with a very large number of nodes.
  • Testing Environment: The performance evaluation was conducted on a single machine, and the authors suggest re-evaluating the system on a distributed network with more realistic specs.

Future work suggested includes:

  • Sub-network Blockchains: Extending the network to include sub-network blockchains for each organization, managed by trusted scholars.
  • Optimizing Consensus: Further optimizing the consensus algorithm for better scalability.
  • Enriching Hadith Data: Expanding the system to include more detailed information about Hadiths, such as different wordings, book references, and narrator attributions.

Summary updated

Abstract

Historical texts are one of the main pillars for understanding current civilization and are used to reference different aspects. Hadiths are an example of one of the historical texts that should be securely preserved. Due to the expansion of the online resources, fabrications and alterations of fake Hadiths are easily feasible. Therefore, it has become more challenging to authenticate the online available Hadith contents and much harder to keep these authenticated results secure and unmanipulated. In this research, we are using the capabilities of the distributed blockchain technology to securely archive the Hadith and its level of authenticity in a blockchain. We selected a permissioned blockchain customized model in which the main entities approving the level of authenticity of the Hadith are well-established and specialized institutions in the main Islamic countries that can apply their own Hadith validation model. The proposed solution guarantees its integrity using the crowd wisdom represented in the selected nodes in the blockchain, which uses voting algorithms to decide the insertion of any new Hadiths into the database. This technique secures data integrity at any given time. If any organization’s credentials are compromised and used to update the data maliciously, 50% + 1 approval from the whole network nodes will be required. In case of any malicious or misguided information during the state of reaching consensus, the system will self-heal using practical Byzantine Fault Tolerance (pBFT). We evaluated the proposed framework’s read/write performance and found it adequate for the operational requirements.
BibTeX
@inproceedings{awad2022secure,
  author = {Khaled M. Awad and Mustafa ElNainay and Mohammad A. R. Abdeen and Marwan Torki and Omar Saif and Emad Nabil},
  title = {{A Secure Blockchain Framework for Storing Historical Text: A Case Study of the Holy Hadith}},
  booktitle = {Comput},
  year = {2022},
  url = {https://openreview.net/forum?id=Jy9d2KfyUK},
}
Figure