Presentation is loading. Please wait.

Presentation is loading. Please wait.

Digital Signatures, Font Files, and Recursion Illustrated Examples.

Similar presentations


Presentation on theme: "Digital Signatures, Font Files, and Recursion Illustrated Examples."— Presentation transcript:

1 Digital Signatures, Font Files, and Recursion Illustrated Examples

2 Original signed file 01234567 red nodes indicate hash values in the signed file

3 Subsetted signed file 01234567 subsetted file contains glyphs 0, 1, and 2

4 Further subsetted file 01234567 further subsetted file contains just glyph 1

5 Illustration of subsetting glyphs 0, 1, and 2 01234567 black highlighted nodes indicate the current recursive call return h(0, 0). do not emit. red: smallest glyph in file not processed yet blue: smallest glyph in output file not processed yet

6 Illustration (slide 2) 01234567 return h(1, 1). do not emit.

7 Illustration (slide 3) 01234567 return h(0, 1). do not emit.

8 Illustration (slide 4) 01234567 return h(2, 2). do not emit.

9 Illustration (slide 5) 01234567 return h(3, 3). emit h(3, 3).

10 Illustration (slide 6) 01234567 return h(2, 3). do not emit.

11 Illustration (slide 7) 01234567 return h(0, 3). do not emit.

12 Illustration (slide 8) 01234567 return h(4, 4). do not emit.

13 Illustration (slide 9) 01234567 return h(5, 5). do not emit.

14 Illustration (slide 10) 01234567 return h(4, 5). do not emit.

15 Illustration (slide 11) 01234567 return h(6, 6). do not emit.

16 Illustration (slide 12) 01234567 return h(7, 7). do not emit.

17 Illustration (slide 13) 01234567 return h(6, 7). do not emit.

18 Illustration (slide 14) 01234567 return h(4, 7). emit h(4, 7).

19 Illustration (slide 15) 01234567 copy h(0, 7) from original file to output file.

20 Subsetting Important: Note that the decisions to emit a hash value to the output file and whether to make recursive calls depend on the position of the red and blue arrows at the time the recursive call is made.

21 Illustration of further subsetting to just glyph 1 01234567 return h(0, 0). emit h(0, 0). Input file has glyphs 0, 1, 2, and hash values h(3, 3) and h(4, 7). Output file has just glyph 1.

22 Illustration (slide 2) 01234567 return h(1, 1). do not emit.

23 Illustration (slide 3) 01234567 return h(0, 1). do not emit.

24 Illustration (slide 4) 01234567 return h(2, 2). do not emit.

25 Illustration (slide 5) 01234567 return h(3, 3). do not emit.

26 Illustration (slide 6) 01234567 return h(2, 3). emit h(2, 3).

27 Illustration (slide 7) 01234567 return h(0, 3). do not emit.

28 Illustration (slide 8) 01234567 return h(4, 7), which is in the original file. emit h(4, 7).

29 Illustration (slide 9) 01234567 copy h(0, 7) from original file to output file.


Download ppt "Digital Signatures, Font Files, and Recursion Illustrated Examples."

Similar presentations


Ads by Google