Digital Technologies and Encryption

Posted by arlene

Message Digest Functions

These are mathematical functions which, when applied to a file, return with some number known as a digest that somehow provides some near unique characterisation of the file. An example of an immensely poor message digest function would be one which took every character in the file, added their bit codes together and took the remainder when divided by a very large number. A message digest function should have a number of properties:

There are a number of uses for such functions; we shall be looking at one in particular, the digital signature. However, one low-tech use is to discover whether any files have been modified in a system, either by an intruder or by a virus. In the early days of viruses you could detect this by means of looking at the size in bytes of the code; however, virus writers have managed to subvert this by deploying viruses which lop off code from existing programs and embed themselves in the code in such a way that the file size is unaffected or by subverting the file reading components of the operating system. One way of detecting file changes is to compare a digest of a file with its previous value; if they are the same then there is a very high probability that the file has not been modified, but if they are not the same then the file has been changed.

Living the Web 2.0There are a number of message digest functions and technologies which have been devised:

There are a number of uses for message digest functions over and above that of checking files for tampering. They are used for message authentication codes. In this use a digest is calculated for a message that is sent between two parties and then appended to the end of the message. Each of the parties has knowledge of the message digest function used: the sender uses it to carry out the calculation of the digest while the recipient uses it to calculate the value of the digest from the received message. If the value calculated by the recipient is the same as the appended value then there is a very high probability that the message has not been tampered with during its traversal of the communication medium used.

Another use for message digest functions is in producing a password from a series of words known as a passphrase. Passphrases have a long history in order to remember passwords, for example the password itbil#ptooway can be remembered by the passphrase ‘In the beginning I liked hash potatoes, what about you’. Here initial letters and symbols are used to remember a hard-to-crack password. Message digest functions are also used in digital signatures.

Digital Signatures

A digital signature is some data that uniquely identifies a person or an organisation. Digital signatures rely on message digest functions and public key cryptography. In order to describe how they work consider the sending of a message from one agent (A) to another (B) where agent A publishes a public key. The steps below assume that B knows what message digest function is being used. The following steps occur:

An important point to make is that digital signatures can give irrefutable proof that content has been changed en-route. They ensure integrity but not privacy.

Possibly related posts: (automatically generated)
Digital Technologies and Encryption

3 Responses to “Digital Technologies and Encryption”

  1. Your use of any such software shall be only in accordance with the license agreement that is included with the software or presented upon download of such software. … Ahead Software Ag

  2. All the content and information provided by international protected suppliers and UK copyright laws. … International Copyright Laws

  3. In announcements made today, Macromedia’ s Chief Software Architect Kevin Lynch lays out the current and future components of the Flash development platform like so many puzzle pieces falling into place. … Software Oasis

Leave a Reply

LogoAlexa CounterFeedBurner Counter