Question

how i solve this quistion ? Based on MD5 hash algorithm, M1 required 10 blocks and...

how i solve this quistion ?

Based on MD5 hash algorithm, M1 required 10 blocks and padding size is 8 bits. M2 required 3 blocks and padding size is 480 bits. If M1 and M2 are combined in a single file called M3. Find M3 size

Homework Answers

Answer #1

Solution for the problem is provided below. Please comment if you have any doubt.

It is given that there are two messages, M1 and M2.

M1- required 10 blocks and the padding size is 8 bits

M2-require 3 blocks and the padding size is 460

It is known that MD5 hash algorithm process the input message in blocks of 512 bits and if 512 bits are not available for a block, the remaining blocks will be filled by padded bits.

Here M1 requires 10 blocks that is it will have, 10*512 = 5120 bits including the 8 bits pad.

Number of actual bits of M1= 5120-8 = 5112 bits

Here M2 requires 3 blocks that is it will have, 3*512 = 1536 bits including the 480 bits pad.

Number of actual bits of M2= 1536-480 = 1056 bits

M3 is made by combining M1 and M2, then the size of M3 = 5112+1056 = 6168 bits

The size of M3 = 6168 bits = 771 bytes

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
how i solve this question? Select the right answer: Based on MD5 hash algorithm if the...
how i solve this question? Select the right answer: Based on MD5 hash algorithm if the message length is 512 KB, then the hash value (output) could be haw many bytes:    128 bytes 481 bits 512 bits 16 bytes None of the above
how i solve this question ? Based on RSA algorithm, if Ø(n)=52972. Find a valid public...
how i solve this question ? Based on RSA algorithm, if Ø(n)=52972. Find a valid public key.
can i get an explenation on how to solve this , i forgot the formula so...
can i get an explenation on how to solve this , i forgot the formula so a solution with the formula would be appreciated For the following values of (v, k, r) either construct a design on v points, blocks of size k and each point in r blocks, or explain why such a design cannot exist. (i) (v, k, r) = (9, 3, 4). (ii) (v, k, r) = (9, 6, 8).
How Can I solve this problem? Three charges, q1= -10 μC, q2= 4 μC and q3=...
How Can I solve this problem? Three charges, q1= -10 μC, q2= 4 μC and q3= 10 μC are aligned vertically, 6 cm apart. Point P is located 8 cm directly to the right of q2. a) Find the electric field contribution from q1 on point P. b) Find the electric field contribution from q2 on point P. c) Find the electric field contribution from q3 at point P. d) Find the magnitude of the net electric field at point...
How do I solve them Question 1 The reserve requirement is 0 percent on the first...
How do I solve them Question 1 The reserve requirement is 0 percent on the first $8 million in transaction deposits, 3 percent on amounts between $8 million and $50 million, and 10 percent on amounts above $50 million. A bank with transaction deposits totaling $83 million has required reserves equal to $2.49 million. $4.56 million. $6.54 million. $8.30 million. Use the capital-asset pricing model to predict the return next year of a stock with a beta of 0.5, if...
Can someone please explain these questions. I don't understand how you can solve this without knowing...
Can someone please explain these questions. I don't understand how you can solve this without knowing standard deviation. 1. A New York real estate firm tracks the cost of apartment rentals in the US. In mid-2002, the nationwide mean apartment rental rate was $895 per month (The Wall Street Journal, July 8, 2002). Have apartment rates increased since then? A sample of 50 apartment rental rates from 2004 resulted in a calculated t statistic of 1.12. Based on this, with...
Problem Definition: Problem: Given an array of integers find all pairs of integers, a and b,...
Problem Definition: Problem: Given an array of integers find all pairs of integers, a and b, where a – b is equal to a given number. For example, consider the following array and suppose we want to find all pairs of integers a and b where a – b = 3 A = [10, 4, 6, 16, 1, 6, 12, 13] Then your method should return the following pairs: 4, 1 15, 12 13, 10 A poor solution: There are...
NWS620S Tutorial 1: Symmetric Encryption - DES Encryption is the translation of data into a secret...
NWS620S Tutorial 1: Symmetric Encryption - DES Encryption is the translation of data into a secret code so that only authorised entities can read it. Encrypting data is considered a very effective way of achieving data security. To access encrypted data, you must have access to a secret key that enables you to decrypt it. Unencrypted data is called plain text; encrypted data is referred to as cipher text. There are two types of encryption: • Symmetric encryption • Asymmetric...
Have you ever wondered what it means to click the “offset carbon emissions” button when you...
Have you ever wondered what it means to click the “offset carbon emissions” button when you book a flight or train trip? It adds a small cost to your ticket, but how does this reduce emissions? The money is typically used to fund projects that reduce carbon emissions. One such project type is the introduction of more efficient cooking stoves into communities. Much of the world uses inefficient charcoal or wood stoves that result in excessive indoor air pollution, deforestation,...
a)How is it possible to determine if CaCO3 is Cl- free after synthesis? b)How can the...
a)How is it possible to determine if CaCO3 is Cl- free after synthesis? b)How can the Cl- ions be remove from CaCO3 after synthesis? I should answer the questions from the following experiment but if you know the answer and you are sure, yo do not need to read experiment. Please answer correctly because i hav no chance to make wrong :(((( Physical and Chemical Properties of Pure Substances Objective The aim of today’s experiment is to learn handling chemicals...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT