27
Randomized Algorithms CS648 Lecture 5 Algebraic Techniques Frievald’s Algorithm Fingerprinting Techniques 1

Lecture 5-cs648

Embed Size (px)

Citation preview

Page 1: Lecture 5-cs648

Randomized AlgorithmsCS648

Lecture 5

• Algebraic Techniques• Frievald’s Algorithm

• Fingerprinting Techniques

1

Page 2: Lecture 5-cs648

FRIEVALD’S TECHNIQUEAPPLICATION

MATRIX PRODUCT VERIFICATION

2

Page 3: Lecture 5-cs648

Frievald’s Algorithm(Rusins Frievald, 1977)

3

Page 4: Lecture 5-cs648

Frievald’s Algorithm(Rusins Frievald, 1977)

4

Page 5: Lecture 5-cs648

Frievald’s Algorithm(Rusins Frievald, 1977)

5

Page 6: Lecture 5-cs648

Frievald’s Algorithm(Analyzing error probability)

6

null vector

Page 7: Lecture 5-cs648

Frievald’s Algorithm(Analyzing error probability)

7

Page 8: Lecture 5-cs648

Frievald’s Algorithm(Analyzing error probability)

8

Page 9: Lecture 5-cs648

Probability tool:Partition of sample space

9

Ω

Page 10: Lecture 5-cs648

Question: When to use the Partition theorem ?

10

Page 11: Lecture 5-cs648

Frievald’s Algorithm(Analyzing error probability)

11

Page 12: Lecture 5-cs648

Frievald’s Algorithm(Analyzing error probability)

12

≠0

Could be 0, 1 or some other number

Page 13: Lecture 5-cs648

Frievald’s Algorithm(Analyzing error probability)

13

Page 14: Lecture 5-cs648

Frievald’s Algorithm(reducing the error probability)

14

Page 15: Lecture 5-cs648

Frievald’s Algorithm (final result)

15

Page 16: Lecture 5-cs648

FINGERPRINTINGAPPLICATION

CRYPTOGRAPHY

16

Page 17: Lecture 5-cs648

PRIME NUMBERS(SOME BASIC FACTS)

17

Page 18: Lecture 5-cs648

18

100 25

1000 168

10000 1229

100000 9592

1000000 78498

Page 19: Lecture 5-cs648

19

Page 20: Lecture 5-cs648

20

Page 21: Lecture 5-cs648

21

Aim: To determine if File A identical to File B by communicating fewest bits ?

File A File B

Page 22: Lecture 5-cs648

Question: What is a File ?

Answer:

A bit string.

22

Page 23: Lecture 5-cs648

Visualize a file as a binary number

23

Page 24: Lecture 5-cs648

24

Page 25: Lecture 5-cs648

RandomEqualityChecking-Protocol(bounding the error probability)

25

Page 26: Lecture 5-cs648

RandomEqualityChecking-Protocol(bounding the error probability)

26

Page 27: Lecture 5-cs648

• Please go through the slides of this lecture carefully and patiently. You are welcome to discuss any doubt in the next class (Saturday, 17th August)

27