DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Why Blurring Sensitive Information is a Bad Choice for Hiding It  (Read 11,662 times)

KenR

  • Super
  • Blogger
  • Joined in 2006
  • ***
  • Posts: 826
Here's an interesting post about how blurred-out information can be recovered

Quote
Undoubtedly you have all seen photographs of people on TV and online who have been blurred to hide faces. For example, here's one of Bill Gates:
[See Image Below]

For the most part this is all fine with peoples' faces as there isn't a convenient way to reverse the blur back into a photo so detailed that you can recognise the photo. So that's good if that is what you intended. However, many people also resort to blurring sensitive numbers and text. I'll illustrate why that is a BAD idea.

Suppose someone posted a photo of their check or credit card online for whatever awful reason (proving to Digg that I earned a million dollars, showing something funny about a check, comparing the size of something to a credit card, etc.), blurring out the image with the far-too-common mosaic effect to hide the numbers...

Kenneth P. Reeder, Ph.D.
Clinical Psychologist
Jacksonville, North Carolina  28546

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #1 on: January 08, 2007, 01:42 AM »
Wow, that's cool.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #2 on: January 08, 2007, 09:39 AM »
Pretty interesting.

Blurring is so much prettier than just blocking out, though ;)
- carpe noctem

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #3 on: January 08, 2007, 11:16 AM »
I think that there's also another issue: wouldn't the person who made the bluring algorith be able to reverse engineer it and get the original text?

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #4 on: January 08, 2007, 02:42 PM »
I think that there's also another issue: wouldn't the person who made the bluring algorith be able to reverse engineer it and get the original text?
No, it's a lossy operation, so you won't be able to get the exact original. (Well, a malicious blur-tool author could do trick things with alpha channel in a 32bpp image, or perhaps some palette tricks for 8bpp, to make it a bit easier to get at original-ish data, but... that's pretty far-fetched).
- carpe noctem

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #5 on: January 08, 2007, 02:47 PM »
I see.
Another question: doesn't the method mentioned in the article only work if all bluring methods use the same algorithm? (which they don't, or do they?)

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #6 on: January 08, 2007, 03:25 PM »
Well, you can often guess which tool a person used (photoshop, gimp, paint shop pro). And most effects are probably implemented similarly anyway.
- carpe noctem

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #7 on: January 08, 2007, 04:57 PM »
As f0dder says, blurring is a *lossy* algorithm, which means that information gets lost when you blur something, so it's not going to be possible to recover the original exactly or completely in most cases.

The real lesson from this article is that you should be really careful about "slightly blurring images which could have come from a small set of possible sources (like a number)".  If you sufficiently blur something with some real variety it's going to be difficult to recover it.

Still - it does suggest that there is room in the world for a "cryptographically secure" blurring algorithm, which purposely introduces some randomness and color reduction in order to eliminate the possibility of recovery.

TucknDar

  • Advanced coder of Nowt
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,133
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #8 on: January 08, 2007, 07:00 PM »
Damn, I bet that Screenshot Captor author speculates in getting all our personal information!!  :o

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #9 on: January 08, 2007, 11:10 PM »
Damn, I bet that Screenshot Captor author speculates in getting all our personal information!!  :o
Yeah... do take a look at the alpha channels of those .png pictures! :o
- carpe noctem

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #10 on: January 08, 2007, 11:33 PM »
Quote
Yeah... do take a look at the alpha channels of those .png pictures!
i don't get it.

ps.
please keep in mind this is how rumours get started - so might want to make clearer when you are joking about such stuff.  :Thmbsup:

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Why Blurring Sensitive Information is a Bad Choice for Hiding It
« Reply #11 on: January 08, 2007, 11:47 PM »
Good point, mouser - so to make it clear: yes, I'm joking, I'd be very surprised if mouser did anything backdoorish in any of his apps.

Anyway, alpha channels - tyically 8 bit of information per pixel, used for transparency, but theoretically you could put anything there (although the pictures would render funnily in programs that support alpha; I don't know if you can somehow specify a PNG file that has the alpha channel but set to "don't use").
- carpe noctem

Original address: https://www.donationcoder.com/forum/index.php?topic=6919.0