Webopedia on Google+Webopedia on TwitterWebopedia on FacebookTech Bytes Blog
Main » TERM » H »

hashing

Producing hash values for accessing data or for security. A hash value (or simply hash), also called a message digest, is a number generated from a string of text. The hash is substantially smaller than the text itself, and is generated by a formula in such a way that it is extremely unlikely that some other text will produce the same hash value.

Hashes play a role in security systems where they're used to ensure that transmitted messages have not been tampered with. The sender generates a hash of the message, encrypts it, and sends it with the message itself. The recipient then decrypts both the message and the hash, produces another hash from the received message, and compares the two hashes. If they're the same, there is a very high probability that the message was transmitted intact.

Hashing is also a common method of accessing data records. Consider, for example, a list of names:

  • John Smith
  • Sarah Jones
  • Roger Adams
  • To create an index, called a hash table,for these records, you would apply a formula to each name to produce a unique numeric value. So you might get something like:

  • 1345873 John smith
  • 3097905 Sarah Jones
  • 4060964 Roger Adams
  • Then to search for the record containing Sarah Jones,you just need to reapply the formula, which directly yields the index key to the record. This is much more efficient than searching through all the records till the matching record is found.







    TECH RESOURCES FROM OUR PARTNERS
    LATEST ARTICLES
    8 Agenda Apps to Help Students Stay Organized

    Webopedia's student apps roundup will help you to better organize your class schedule and stay on top of assignments and homework. Read More »

    20 Ways to Shorten a URL

    If you need to shorten a long URL try this list of 20 free online redirection services. Read More »

    Top 10 Tech Terms of 2015

    The most popular Webopedia definitions of 2015. Read More »

    STUDY GUIDES
    Computer Architecture Study Guide

    This Webopedia  study guide describes the different parts of a computer system and their relations. Read More »

    Network Fundamentals Study Guide

    Networking fundamentals teaches the building blocks of modern network design. Learn different types of networks, concepts, architecture and... Read More »

    The Five Generations of Computers

    Learn about each of the five generations of computers and major technology developments that have led to the current devices that we use today. Read More »