Question: Introduction to a hash functionGiven a message consisting of a sequence of letters, the toy tetragraph hash ( tth ) produces a hash value consisting

Introduction to a hash functionGiven a message consisting of a sequence of letters, the toy tetragraph hash (tth) produces a hash value consisting of four letters. First, tth divides the message into blocks of 16 letters, ignoring spaces, punctuation, and capitalization. If the message length is not divisible by 16, it is padded out with nulls. A four-number running total is maintained that starts out with the value (0,0,0,0); this is input to a function, known as a compression function, for processing the first block.The compression function consists of two rounds. Round 1: Get the next block of text and arrange it as a row-wise 4X4 block of text and covert it to numbers (A =0, B =1, example, for the block ABCDEFGHIJKLMNOP, we have

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!