CS4236 Tutorial 6 - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

CS4236 Tutorial 6

Description:

Eve. Public to all: (p,a, ) download. download. Signed and send to Bob : (m, ... By applying the extended Euclidean Algorithm, Eve get the possible answer of a. ... – PowerPoint PPT presentation

Number of Views:70
Avg rating:3.0/5.0
Slides: 7
Provided by: Dan5263
Category:
Tags: cs4236 | eve | tutorial

less

Transcript and Presenter's Notes

Title: CS4236 Tutorial 6


1
CS4236 Tutorial 6
  • Question 1 on Text Book pg 191
  • Show that if someone discovers the value of k
    used in the ElGamal signature scheme, then a can
    also be determined.

2
ElGamal Signature Scheme
Alice
Bob
Eve
3
ElGamal Signature Scheme
download
Public to all (p,a,ß)
Alice
Bob
Signed and send to Bob (m, r, s)
listening
download
Eve
4
Alice procedures
  • ßaa ( mod p ), note that 1ltaltp-1 is secret
    number choose by Alice
  • gcd(k,p-1) 1, note that k is another secret
    number choose by Alice.
  • r ak ( mod p )
  • s k-1 (m ar) (mod p-1)
  • Send (m , r , s) to Bob

5
Bob procedures
  • Compute v1 ßr rs (mod p), v2 am
  • If v1 v2 (mod p) then the signature is correct
    signed by Alice.

6
Eve procedures
  • Suppose Eve know k
  • Since, s k-1 (m ar) (mod p-1),
  • sk (m ar) (mod p-1)
  • ar (m ks) (mod p-1)
  • Note that in these steps, p, m, k, s, r, are
    known.
  • By applying the extended Euclidean Algorithm, Eve
    get the possible answer of a. Note that the
    number of possible answer is gcd(r, p-1).
  • Test which answer fulfils ß aa (mod p)
  • a is found.
Write a Comment
User Comments (0)
About PowerShow.com