Team:Davidson-Missouri Western/Ideal Hash Function Characteristics

From 2008.igem.org

Home The Team E. nigma Project Parts Submitted to the Registry Notebook

Overview

A cryptographic hash function takes as input a message or document of any size, and returns a fixed length hexadecimal string as output, called the hash value. The hash value is essentially the "signature" of the input document, and can be used to verify that a document has not been tampered with. The hash function should be sensitive to small perturbations in the input message, producing very different hash values for highly similar, but not identical, documents. This page describes the characteristics and ideal properties of a cryptographic hash function.

Characteristics

  • Reduces Text Down for Authentication

lalign="right"

  • Not Reversible
    • From any given output, it would be virtually impossible to work backwards to get the input.
  • Each Input Has Exactly One Output
    • Each input will always hash to the same single output (a property of any function).
  • Arbitrary Input Length and Fixed Output Length
    • Documents of unlimited length can be hashed and all documents should hash to outputs of equal (brief) length. Enables user to quickly detect document tampering and ensures hash values do not contain information about the length of the original document.
  • At Least One Collision
    • A collision occurs when two inputs hash to the same output. Collisions ensure that each hash value does not correspond to a unique input (in other words, the function is not invertible).


Ideal Hash Function Properties

  • Minimal Collisions
    • Although collisions are necessary, an ideal hash function will equally partition to all possible hash values.

Slide02.jpg

  • Unpredictable Collisions
    • If collisions are predictable, patterns that can define the function become apparent. Secure hash functions require a large number of deliberate attempts to create 2 colliding documents.
  • Real-Time Computation
    • Hash value should be computed for a document in the time it takes to be transmitted.
    • Speed of Spoke Test



Home The Team E. nigma Project Parts Submitted to the Registry Notebook