Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please show all work This problem introduces a hash function that operates on letters. It is called the toy tetragraph hash th). Given a message

Please show all work

image text in transcribed

image text in transcribed

This problem introduces a hash function that operates on letters. It is called the toy tetragraph hash th). Given a message consisting of a sequence of letters, 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 character X. A four-number running total is maintained that starts out with the value (0, 0, 0, o) The function consists of two rounds Round 1: Get the next block of text and arrange it as a row-wise 4x 4 block of text and covert it to numbers (A = 0, B = 1 and so on), generating a 4x4 number table. For the block ABCDEFGHIJKLMNOP, we have: A BCD 0 2 3 8 910 11 12 13 14 15

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Datalog Engines In Databases

Authors: Bas Ketsman ,Paraschos Koutris

1st Edition

1638280428, 978-1638280422

More Books

Students also viewed these Databases questions