Research Article

FogDedupe: A Fog-Centric Deduplication Approach Using Multi-Key Homomorphic Encryption Technique

Algorithm 1

Data owner—generating partial hash values.
Input: Data chunks DC i =1, 2…m (each with the size of 1024KB)
Output: Partial hash values ()
Begin:
    1.  Data owner HASHES the data chunks (DC i=1, 2…m) using ‘n’ number of hash
      functions.
    2.  Data owners stores resultant message digests (hash values) of the data chunks
      in their local storage.
    3.  Generate a partial hash value
        Begin
         a.  Divide the hash values into ‘p’ partitions (i.e.) (L bits of message
           digest / ‘p’ partitions).
         b.  To derive the partial hash values ‘pα’, choose odd partitions from
           the message digest and take the even bits from each partition.
         c.  Combines the even bits from each odd partition and create a
           partial hash value ‘pα’ for each data chunk.
         d.  Creates chunk id (Cid), file id (Fid) for partial hash values.
        End
    4.  Transfer the chunk id (Cid), file id (Fid), and its corresponding partial hash
      values ‘’ to the nearby fog nodes.