| Deutsch English Français Italiano |
|
<vobnn2$tmpm$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Rich <rich@example.invalid>
Newsgroups: sci.crypt
Subject: Re: xorpng
Date: Mon, 10 Feb 2025 02:19:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <vobnn2$tmpm$1@dont-email.me>
References: <vl243l$3jkpe$1@paganini.bofh.team> <vlbtbm$i8qt$1@paganini.bofh.team> <vlc7ia$k8so$5@dont-email.me> <vlc80o$ipdu$1@paganini.bofh.team> <vlc891$k8s5$2@dont-email.me> <vlc8om$k8s5$3@dont-email.me> <vlc9d8$irra$1@paganini.bofh.team> <vlcahc$ks00$1@dont-email.me> <vlcbki$j00g$1@paganini.bofh.team> <vlccrh$lb6a$1@dont-email.me> <vlchr0$j921$1@paganini.bofh.team> <vlcivh$md8n$2@dont-email.me> <vlcjan$oal1$2@paganini.bofh.team> <vld86b$tdna$1@dont-email.me> <vobj0o$t1cd$1@dont-email.me>
Injection-Date: Mon, 10 Feb 2025 03:19:16 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ad7da959fa8613508f56e7ce48c79341";
logging-data="973622"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3bBFp4MjvBEv3M2oEZMJS"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:7UjJsby5dbO8rq89J3FhqCQXh+A=
Bytes: 3071
Richard Heathfield <rjh@cpax.org.uk> wrote:
> On 05/01/2025 06:17, Rich wrote:
>> Stefan Claas <pollux@tilde.club> wrote:
>>> Rich wrote:
>>>
>>>> If instead you mean some kind of "special, PNG aware, encryptor that
>>>> only encrypted the bitmap data of a PNG", but left the file as
>>>> otherwise a proper PNG image structure, then that is slightly tricky
>>>> (and an algorithm that is only useful for PNG's alone).
>>>
>>> Yes, this is what I mean.
>>
>> Which brings up the question of: why?
>>
>> Why go to the trouble to create an encryptor that is specalized for
>> just encrypting the internal bitmap data within a PNG, leaving the rest
>> as a PNG file, when a generic "byte stream" encryptor will encrypt the
>> entire PNG with no extra effort?
>
> Sorry to come late to the party.
>
> I can think of two places where image formats can be useful in
> cryptography.
>
> Firstly, lossless image formats can be used to steganographically
> hide small ciphertexts in the low bits without seriously
> degrading the image.
>
> Secondly, if you want an eyeball on how tangled your bits are,
> rip off the image's metadata, encrypt the bitmap data, bolt the
> metadata back on, and visually inspect the resulting image and
> look for patterns (or, if you used Tux - of course you did - any
> remnants of penguin).
Yes, all useful, and all also trivial to do with the netpbm image
formats. Pad to a square/rectangular size if need be, slap on two
lines of text for metadata at the front, then view the image with an
image viewer.
Stefan appeared to be making a program that, given an actual working
PNG image file, would root around in the PNG file format itself, and
encrypt just the internal bitmap data.