Presentation is loading. Please wait.

Presentation is loading. Please wait.

Compsci 06/101, Fall 2010 15.1 Steganography l Hide text in image (or hide information in image)  Why might we do this?  Difference: watermarking v steganography.

Similar presentations


Presentation on theme: "Compsci 06/101, Fall 2010 15.1 Steganography l Hide text in image (or hide information in image)  Why might we do this?  Difference: watermarking v steganography."— Presentation transcript:

1 Compsci 06/101, Fall 2010 15.1 Steganography l Hide text in image (or hide information in image)  Why might we do this?  Difference: watermarking v steganography  Spore compared to internet censorship l 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?

2 Compsci 06/101, Fall 2010 15.2 Image processing l Using Image from PIL  How do we access all pixels in an image?  How do we save an image?  How do we display an image? l 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?

3 Compsci 06/101, Fall 2010 15.3 Something old for something new l How do we ‘extract’ digits from an integer?  Python?  Math? l 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?

4 Compsci 06/101, Fall 2010 15.4 John Tukey: 1915-2000 l Cooley-Tukey FFT l Bit: Binary Digit l 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.


Download ppt "Compsci 06/101, Fall 2010 15.1 Steganography l Hide text in image (or hide information in image)  Why might we do this?  Difference: watermarking v steganography."

Similar presentations


Ads by Google