Guajara in other languages: Spanish, Deutsch, French, Italian ...



Cryptographic hash function

A cryptographic hash function is a hash function with certain additional security properties. A hash function takes a long string (or message) as input and produces a "digest" of that message. The security properties ensure that the digest looks "random" and does not leak any information about the message itself.

Mathematically, a cryptographic hash function is a hash function such that:

A typical use of a crytographic hash would be as follows: Alice poses to Bob a tough math problem and claims she has solved it. Bob would like to try it himself, but would yet like to be sure that Alice is not bluffing. Therefore, Alice writes down her solution, computes its hash and tells Bob the hash value (while keeping the solution secret). This way, when Bob comes up with the solution himself a few days later, Alice can verify his solution but still be able to prove that she had the solution earlier.

In practice, of course, Alice and Bob would be computer programs, and the secret would be something less frivolous. In cryptography, the above application is called timestamping. The other important application of secure hashes is verification of message integrity.

SHA-1 and MD5 are the most commonly used cryptographic hash functions.

See also: digital signature.





Wikipedia - All text is available under the terms of the GNU Free Documentation License.

Tagoror dot com  -  Legal Information  -  Contact us