• DocumentCode
    2814378
  • Title

    A String Matching Algorithm Based on Efficient Hash Function

  • Author

    Zhao Fuyao ; Liu Qingwei

  • Author_Institution
    Sch. of Inf. Sci. & Eng., Central South Univ., Changsha, China
  • fYear
    2009
  • fDate
    19-20 Dec. 2009
  • Firstpage
    1
  • Lastpage
    4
  • Abstract
    Based on the Karp-Rabin algorithm, a fast string matching algorithm is presented in this paper. It is also a hash-based approach, comparing the hash value of strings called fingerprint rather than the letters directly. The characteristic of the algorithm is that the hash function exploits bitwise operations and also considers about the size of the alphabet and the length of the pattern. We prove that the probability of a hash collision is minute and that the average running time is linear. Through a series of experiments, the remarkable performance of our algorithm is demonstrated.
  • Keywords
    cryptography; fingerprint identification; string matching; Karp-Rabin algorithm; bitwise operations; fingerprints; hash collision; hash function; string matching algorithm; Acceleration; Algorithm design and analysis; Bills of materials; Fingerprint recognition; Information science; Pattern matching;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Engineering and Computer Science, 2009. ICIECS 2009. International Conference on
  • Conference_Location
    Wuhan
  • Print_ISBN
    978-1-4244-4994-1
  • Type

    conf

  • DOI
    10.1109/ICIECS.2009.5363191
  • Filename
    5363191