请输入您要查询的百科知识:

 

词条 Hash chain
释义

  1. Definition

  2. Applications

  3. Binary hash chains

  4. Hash chain vs. blockchain

  5. See also

  6. References

{{More citations needed|date=February 2019}}

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

A hash chain is a successive application of a cryptographic hash function to a string .

For example,

gives a hash chain of length 4, often denoted

Applications

{{main article|S/KEY}}

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 which is provided by the user. When the user wishes to authenticate, he supplies to the server. The server computes and verifies this matches the hash chain it has stored. It then stores for the next time the user wishes to authenticate.

An eavesdropper seeing communicated to the server will be unable to re-transmit the same hash chain to the server for authentication since the server now expects . 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 were exhausted. Each time the hash value is different, and thus cannot be duplicated by an attacker.

Binary hash chains

{{main article|Merkle tree}}

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.

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.

Hash chain vs. blockchain

A hash chain is similar to a blockchain, as they both utilize a cryptographic hash function for creating a link between two nodes. However, a blockchain (as used by Bitcoin and related systems) is generally intended to support distributed consensus around a public ledger (data), and incorporates a set of rules for encapsulation of data and associated data permissions.

See also

  • Challenge–response authentication
  • Hash list – In contrast to the recursive structure of hash chains, the elements of a hash list are independent of each other.
  • One-time password
  • Key stretching
  • Linked timestamping – Binary hash chains are a key component in linked timestamping.
  • X.509

References

1. ^L. Lamport, “Password Authentication with Insecure Communication”, Communications of the ACM 24.11 (November 1981), pp 770-772. [https://scholar.google.de/scholar?q=L.+Lamport%2C+%E2%80%9CPassword+Authentication+with+Insecure+Communication%E2%80%9D%2C+Communications+of+the+ACM+24.11+%28November+1981%29%2C+pp+770-772.+&btnG=&hl=de&num=20&as_sdt=0%2C5] [https://doi.org/10.1145/358790.358797]

1 : Cryptographic algorithms

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/16 15:17:08