Steganography l Hide text in image or hide

  • Slides: 4
Download presentation
Steganography l Hide text in image (or hide information in image) Ø Ø Ø

Steganography l Hide text in image (or hide information in image) Ø Ø Ø l Why might we do this? Difference: watermarking v steganography Spore compared to internet censorship How do we hide text in an image? Ø Ø Use lossless compression, e. g. , . png and not. jpg We’ll use RGBA, every pixel has 4 bytes in it • Red, Green, Blue, Alpha • What’s a byte? What’s a bit? Compsci 06/101, Fall 2010 15. 1

Image processing l Using Image from PIL Ø Ø Ø l How do we

Image processing l Using Image from PIL Ø Ø Ø l How do we access all pixels in an image? How do we save an image? How do we display an image? Processing pixels and text Ø Ø How do we break a character into four pieces? What’s a character? What’s a piece? How do we “hide” something in RGBA value? How much information in a red pixel value? Compsci 06/101, Fall 2010 15. 2

Something old for something new l How do we ‘extract’ digits from an integer?

Something old for something new l How do we ‘extract’ digits from an integer? Ø Ø l Python? Math? How do we build an integer from 1, 2, 3, 4 -> 1, 234 Ø Ø Ø If we got 4, 3, 2, 1 would this be different? Should we use strings or arithmetic? Should we use lists? Compsci 06/101, Fall 2010 15. 3

John Tukey: 1915 -2000 l l l Cooley-Tukey FFT Bit: Binary Digit Box-plot Far

John Tukey: 1915 -2000 l l l Cooley-Tukey FFT Bit: Binary Digit Box-plot Far better an approximate answer to the right question, which is often vague, than an exact answer to the wrong question, which can always be made precise. The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data. Compsci 06/101, Fall 2010 15. 4