Hash chain

From Wikipedia, the free encyclopedia

In computer security, a hash chain is a method to produce many one-time keys from a single key or password.

Contents

A hash chain is a successive application of a cryptographic hash function h(x) to a string.

For example,

h(h(h(h(x))))

gives a hash chain of length 4, often denoted h4(x)

Lamport[1] suggested the use of hash chains as a password protection scheme in an insecure environment. A server which needs to provide authentication may store a hash chain rather than a plain text password and prevent theft of the password in transmission or theft from the server. For example, a server begins by storing h1000(password) which is provided by the user. When the user wishes to authenticate, he supplies h999(password) to the server. The server computes h(h999(password)) = h1000(password) and verifies this matches the hash chain it has stored. It then stores h999(password) for the next time the user wishes to authenticate.

An eavesdropper seeing h999(password) communicated to the server will be unable to re-transmit the same hash chain to the server for authentication since the server now expects h998(password). Due to the one-way property of a cryptographically secure hash function, it is impossible for the eavesdropper to reverse the hash function and obtain an earlier piece of the hash chain. In this example, the user could authenticate 1000 times before the hash chain is completely used. Each time the hash value is different, and thus cannot be duplicated by an attacker.

  1. ^ L. Lamport, “Password Authentication with Insecure Communication”, Communications of the ACM 24.11 (November 1981), pp 770-772. [1] [2]
Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.