White Papers IT Jobs Events Research Premium Services Training & Certification Media Kit
free news! your email
IT Management
internet.com

Subjects      
 Chips & Upgrades
 Computers
 News
 Opinions
 Peripherals
Systems Software

  SysOpt

internet.commerce
-
Be a Commerce Partner














Search
Earthweb
The Web

Search for more hardware and systems terms . . .
 
hashing
Last modified: Monday, October 20, 2008 

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.

      Related Links

    Webopedia's "Did You Know...?" Section
    Use this Webopedia knowledge section for an in-depth overview of specific technologies and occurrences in the areas of Computer Science, The Internet, and Computer Hardware and Software.

    Webopedia's Quick Reference Section
    Use this Webopedia reference section for information on common Internet and computer facts and occurrences.

    Related Categories
    Digital Rights Management (DRM)

    Operators and Operations

    Security

    Related Terms
    index

    key

    Shopping
    hashing Products
    Compare Products,Prices and Stores

    Shop by Category:
    Sport and Outdoor
    153 Store Offers

    Shoes
    1 Store Offers

    Musical Instruments
    3 Store Offers

    Clothing
    41 Store Offers

    IT ManagementNetworking & CommunicationsWeb DevelopmentHardware & SystemsSoftware Development
    GlobeEarthweb Home
    White Papers IT Jobs Events Research Premium Services Training & Certification Media Kit
    Jupitermedia is publisher of the internet.com and EarthWeb.com networks.
    Copyright 2004 Jupitermedia Corporation All Rights Reserved.

    Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.
    Advertise on EarthWeb
    http://www.earthweb.com/
    http://www.internet.com/