An Efficient Hash Function Construction for Sparse Data

Nir Soffer, Erez Waisbard

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Verifying the integrity of files during transfer is a fundamental operation critical to ensuring data reliability and security. This is accomplished by computing and comparing a hash value generated from the file’s contents by both the sender and the receiver. This process becomes prohibitively slow when dealing with large files, even in scenarios involving sparse disk images where significant portions of the file may be unallocated. We introduce blkhash, the first hash construction tailored specifically for optimizing hash computation performance in sparse disk images. Our approach addresses the inefficiencies inherent in traditional hashing algorithms by significantly reducing the computational overhead associated with unallocated areas within the file. Moreover, blkhash implements a parallel computation strategy that leverages multiple cores, further enhancing efficiency and scalability. We have implemented the blkhash construction and conducted extensive performance evaluations to assess its efficacy. Our results demonstrate remarkable improvements in hash computation speed, outperforming state-of-the-art hash functions by up to four orders of magnitude. This substantial acceleration in hash computation offers immense potential for use cases requiring rapid verification of large virtual disk images, particularly in virtualization and software-defined storage.

Original languageEnglish
Title of host publicationProceedings of the 21st International Conference on Security and Cryptography, SECRYPT 2024
EditorsSabrina De Capitani Di Vimercati, Pierangela Samarati
PublisherScience and Technology Publications, Lda
Pages698-703
Number of pages6
ISBN (Electronic)9789897587092
DOIs
StatePublished - 2024
Externally publishedYes
Event21st International Conference on Security and Cryptography, SECRYPT 2024 - Dijon, France
Duration: 8 Jul 202410 Jul 2024

Publication series

NameProceedings of the International Conference on Security and Cryptography
ISSN (Print)2184-7711

Conference

Conference21st International Conference on Security and Cryptography, SECRYPT 2024
Country/TerritoryFrance
CityDijon
Period8/07/2410/07/24

Bibliographical note

Publisher Copyright:
© 2024 by SCITEPRESS – Science and Technology Publications, Lda.

Keywords

  • Hash Functions
  • Integrity Verification
  • Parallel Computation
  • Sparse Disks
  • Storage Virtualization

Fingerprint

Dive into the research topics of 'An Efficient Hash Function Construction for Sparse Data'. Together they form a unique fingerprint.

Cite this