1 / 29

Digital Signatures, Font Files, and Recursion

Digital Signatures, Font Files, and Recursion. Illustrated Examples. Original signed file. 0. 1. 2. 3. 4. 5. 6. 7. red nodes indicate hash values in the signed file. Subsetted signed file. 0. 1. 2. 3. 4. 5. 6. 7. subsetted file contains glyphs 0, 1, and 2.

dyers
Télécharger la présentation

Digital Signatures, Font Files, and Recursion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Digital Signatures, Font Files, and Recursion Illustrated Examples

  2. Original signed file 0 1 2 3 4 5 6 7 red nodes indicate hash values in the signed file

  3. Subsetted signed file 0 1 2 3 4 5 6 7 subsetted file contains glyphs 0, 1, and 2

  4. Further subsetted file 0 1 2 3 4 5 6 7 further subsetted file contains just glyph 1

  5. Illustration of subsetting glyphs 0, 1, and 2 0 1 2 3 4 5 6 7 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) 0 1 2 3 4 5 6 7 return h(1, 1). do not emit.

  7. Illustration (slide 3) 0 1 2 3 4 5 6 7 return h(0, 1). do not emit.

  8. Illustration (slide 4) 0 1 2 3 4 5 6 7 return h(2, 2). do not emit.

  9. Illustration (slide 5) 0 1 2 3 4 5 6 7 return h(3, 3). emit h(3, 3).

  10. Illustration (slide 6) 0 1 2 3 4 5 6 7 return h(2, 3). do not emit.

  11. Illustration (slide 7) 0 1 2 3 4 5 6 7 return h(0, 3). do not emit.

  12. Illustration (slide 8) 0 1 2 3 4 5 6 7 return h(4, 4). do not emit.

  13. Illustration (slide 9) 0 1 2 3 4 5 6 7 return h(5, 5). do not emit.

  14. Illustration (slide 10) 0 1 2 3 4 5 6 7 return h(4, 5). do not emit.

  15. Illustration (slide 11) 0 1 2 3 4 5 6 7 return h(6, 6). do not emit.

  16. Illustration (slide 12) 0 1 2 3 4 5 6 7 return h(7, 7). do not emit.

  17. Illustration (slide 13) 0 1 2 3 4 5 6 7 return h(6, 7). do not emit.

  18. Illustration (slide 14) 0 1 2 3 4 5 6 7 return h(4, 7). emit h(4, 7).

  19. Illustration (slide 15) 0 1 2 3 4 5 6 7 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 0 1 2 3 4 5 6 7 Input file has glyphs 0, 1, 2, and hash values h(3, 3) and h(4, 7). Output file has just glyph 1. return h(0, 0). emit h(0, 0).

  22. Illustration (slide 2) 0 1 2 3 4 5 6 7 return h(1, 1). do not emit.

  23. Illustration (slide 3) 0 1 2 3 4 5 6 7 return h(0, 1). do not emit.

  24. Illustration (slide 4) 0 1 2 3 4 5 6 7 return h(2, 2). do not emit.

  25. Illustration (slide 5) 0 1 2 3 4 5 6 7 return h(3, 3). do not emit.

  26. Illustration (slide 6) 0 1 2 3 4 5 6 7 return h(2, 3). emit h(2, 3).

  27. Illustration (slide 7) 0 1 2 3 4 5 6 7 return h(0, 3). do not emit.

  28. Illustration (slide 8) 0 1 2 3 4 5 6 7 return h(4, 7), which is in the original file. emit h(4, 7).

  29. Illustration (slide 9) 0 1 2 3 4 5 6 7 copy h(0, 7) from original file to output file.

More Related