World Library  
Flag as Inappropriate
Email this Article

Hash chain

Article Id: WHEBN0007386159
Reproduction Date:

Title: Hash chain  
Author: World Heritage Encyclopedia
Language: English
Subject: Hash list, Hash, Cryptographic algorithms, S/KEY, Security token
Collection: Cryptographic Algorithms
Publisher: World Heritage Encyclopedia

Hash chain

A hash chain is the successive application of a cryptographic hash function to a piece of data. In computer security, a hash chain is a method to produce many one-time keys from a single key or password. For non-repudiation a hash function can be applied successively to additional pieces of data in order to record the chronology of data's existence.


  • Definition 1
  • Applications 2
  • Binary hash chains 3
  • Hasq hash chain 4
  • See also 5
  • References 6


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

For example,


gives a hash chain of length 4, often denoted h^{4}(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 h^{1000}(password) which is provided by the user. When the user wishes to authenticate, he supplies h^{999}(password) to the server. The server computes h(h^{999}(password)) = h^{1000}(password) and verifies this matches the hash chain it has stored. It then stores h^{999}(password) for the next time the user wishes to authenticate.

An eavesdropper seeing h^{999}(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 h^{998}(password). Due to the one-way property of cryptographically secure hash functions, it is infeasible 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 exhausted. Each time the hash value is different, and thus cannot be duplicated by an attacker.

Binary hash chains

Binary hash chains are commonly used in association with a hash tree. A Binary hash chain takes two hash values as inputs, concatenates them and applies a hash function to the result, thereby producing a third hash value.

hash tree and hash chain

The above diagram shows a hash tree consisting of eight leaf nodes and the hash chain for the third leaf node. In addition to the hash values themselves the order of concatenation (right or left 1,0) or “order bits” are necessary to complete the hash chain.

Hasq hash chain

Hasq hash chain is a linked list of records. Hash values serve as password digested keys and the link method. Hasq hash chains are part of a distributed database that allows to control anonymously digital tokens with. The picture below represents a particular linkage between the records in the database.

Hasq hash chains

See also


  1. ^ L. Lamport, “Password Authentication with Insecure Communication”, Communications of the ACM 24.11 (November 1981), pp 770-772. [3] [4]
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.