Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2 (5 marks): (Digital Signatures) Suppose that h is a hash function taking long messages as input and producing 256 bit outputs and that

image text in transcribed

Question 2 (5 marks): (Digital Signatures) Suppose that h is a hash function taking long messages as input and producing 256 bit outputs and that M is a long message. Consider the following idea for constructing a signature scheme: - A private signature key Ks is a pair of randomly generated sequences x1,,x256 and y1,,y256, both of length 256 , where each value xi and yi is a 256 bit message. - The corresponding public verification key Kv is the pair of sequences h(x1),,h(x256) and h(y1),,h(y256) - To sign message M, where the hash h(M) is the sequence of bits b1b256, define sign(M,Ks)=(M,z1z256) where zi=xi if bi=0 and zi=yi if bi=1. 1. Explain how you could verify this signature is correct: what does the verification function V(Kv,(M,r1r256)) do to check that (M,r1r256) is message M signed using the signature key corresponding to Kv ? 2. Explain why this scheme is secure - why is it hard for an attacker to forge a signed document that passes the test? Clarify what assumptions on the hash function are needed for your argument. 3. Is it safe to use the same private key to sign more than one message? If not, explain what an attacker could do to attack a user who does this

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

Step: 3

blur-text-image

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

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

=+Who is the target audience?

Answered: 1 week ago