Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will have a long and boring life.


sci / sci.crypt / Re: xorpng

SubjectAuthor
* Ternary Encoding :-)Stefan Claas
+* Re: Ternary Encoding :-)Stefan Claas
|`* Re: Ternary Encoding :-)Rich
| +* Re: Ternary Encoding :-)Stefan Claas
| |+* Re: Ternary Encoding :-)Stefan Claas
| ||+- Re: Ternary Encoding :-)Stefan Claas
| ||`* Re: Ternary Encoding :-)Rich
| || `- Re: Ternary Encoding :-)Chris M. Thomasson
| |`- Re: Ternary Encoding :-)Rich
| `* Re: Ternary Encoding :-)Stefan Claas
|  `* Re: Ternary Encoding :-)Rich
|   `* Re: Ternary Encoding :-)Stefan Claas
|    `* Re: Ternary Encoding :-)Rich
|     `* Re: Ternary Encoding :-)Stefan Claas
|      +* Re: Ternary Encoding :-)Stefan Claas
|      |`* Re: Ternary Encoding :-)Rich
|      | `* Re: Ternary Encoding :-)Stefan Claas
|      |  `- Re: Ternary Encoding :-)Rich
|      `* Re: Ternary Encoding :-)Rich
|       `* Re: Ternary Encoding :-)Stefan Claas
|        `* Re: Ternary Encoding :-)Stefan Claas
|         +- Re: Ternary Encoding :-)Rich
|         `* Re: Ternary Encoding :-)Rich
|          +- Re: Ternary Encoding :-)Stefan Claas
|          `* Re: Ternary Encoding :-)Chax Plore
|           `- Re: Ternary Encoding :-)Rich
`* Re: Ternary Encoding :-)Chris M. Thomasson
 `* Re: Ternary Encoding :-)Stefan Claas
  `* Re: Ternary Encoding :-)Chris M. Thomasson
   `* xorpng (was: Ternary Encoding :-))Stefan Claas
    +- Re: xorpngStefan Claas
    `* Re: xorpngChris M. Thomasson
     `* Re: xorpngStefan Claas
      `* Re: xorpngChris M. Thomasson
       `* Re: xorpngChris M. Thomasson
        `* Re: xorpngStefan Claas
         `* Re: xorpngChris M. Thomasson
          `* Re: xorpngStefan Claas
           +* Re: xorpngChris M. Thomasson
           |`* Re: xorpngStefan Claas
           | `* Re: xorpngRich
           |  `* Re: xorpngStefan Claas
           |   +* Re: xorpngChris M. Thomasson
           |   |`* Re: xorpngStefan Claas
           |   | `* Re: xorpngChris M. Thomasson
           |   |  +- Re: xorpngChris M. Thomasson
           |   |  `* Re: xorpngStefan Claas
           |   |   `* Re: xorpngChris M. Thomasson
           |   |    `* Re: xorpngStefan Claas
           |   |     `- Re: xorpngChris M. Thomasson
           |   `* Re: xorpngRich
           |    +* Re: xorpngStefan Claas
           |    |+* Re: xorpngStefan Claas
           |    ||`* Re: xorpngRich
           |    || `* Re: xorpngStefan Claas
           |    ||  `* Re: xorpngRich
           |    ||   `* Re: xorpngStefan Claas
           |    ||    +* Re: xorpngChris M. Thomasson
           |    ||    |`* Re: xorpngChris M. Thomasson
           |    ||    | `* Re: xorpngStefan Claas
           |    ||    |  +* Re: xorpngChris M. Thomasson
           |    ||    |  |`- Re: xorpngChris M. Thomasson
           |    ||    |  +* Re: xorpngChris M. Thomasson
           |    ||    |  |`* Re: xorpngStefan Claas
           |    ||    |  | `* Re: xorpngStefan Claas
           |    ||    |  |  `- Re: xorpngStefan Claas
           |    ||    |  `* Re: xorpngRich
           |    ||    |   `* Re: xorpngStefan Claas
           |    ||    |    +* Re: xorpngStefan Claas
           |    ||    |    |+* Re: xorpngStefan Claas
           |    ||    |    ||`* Re: xorpngJan Panteltje
           |    ||    |    || `- Re: xorpngStefan Claas
           |    ||    |    |`- Re: xorpngRich
           |    ||    |    `* Re: xorpngRich
           |    ||    |     `* Re: xorpngStefan Claas
           |    ||    |      `* Re: xorpngStefan Claas
           |    ||    |       `* Re: xorpngStefan Claas
           |    ||    |        `* Re: xorpngStefan Claas
           |    ||    |         `* Re: xorpngChris M. Thomasson
           |    ||    |          +- Re: xorpngChris M. Thomasson
           |    ||    |          `* Re: xorpngStefan Claas
           |    ||    |           `- Re: xorpngChris M. Thomasson
           |    ||    `- Re: xorpngRich
           |    |+- Re: xorpngRich
           |    |`* Re: xorpngChris M. Thomasson
           |    | +* Re: xorpngChris M. Thomasson
           |    | |`* Re: xorpngStefan Claas
           |    | | +* Re: xorpngChris M. Thomasson
           |    | | |`- Re: xorpngRich
           |    | | `- Re: xorpngChris M. Thomasson
           |    | `- Re: xorpngRich
           |    `* Re: xorpngRichard Heathfield
           |     +* Re: xorpngRich
           |     |`- Re: xorpngRichard Heathfield
           |     `- Re: xorpngJan Panteltje
           `* Re: xorpngChris M. Thomasson
            +* Re: xorpngChris M. Thomasson
            |`- Re: xorpngStefan Claas
            `* Re: xorpngStefan Claas
             `* Re: xorpngStefan Claas
              `* Re: xorpngChris M. Thomasson

Pages:12345
Subject: Re: xorpng
From: Rich
Newsgroups: sci.crypt
Organization: A noiseless patient Spider
Date: Mon, 10 Feb 2025 02:19 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
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=
View all headers

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.

Subject: Re: xorpng
From: Richard Heathfield
Newsgroups: sci.crypt
Organization: Fix this later
Date: Mon, 10 Feb 2025 03:19 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: rjh@cpax.org.uk (Richard Heathfield)
Newsgroups: sci.crypt
Subject: Re: xorpng
Date: Mon, 10 Feb 2025 03:19:34 +0000
Organization: Fix this later
Lines: 17
Message-ID: <vobr86$u49l$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>
<vobnn2$tmpm$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 10 Feb 2025 04:19:54 +0100 (CET)
Injection-Info: dont-email.me; posting-host="9fb0f5374b7905e948c33f2106e56d13";
logging-data="987445"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tgqsg5B3Xa2tZsvFgIswRu0M4i41abFfbRIS8e6I39Q=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:epCHzs/DKKr3D6uBe5IX6pZ52FM=
Content-Language: en-GB
In-Reply-To: <vobnn2$tmpm$1@dont-email.me>
View all headers

On 10/02/2025 02:19, Rich wrote:

<snip>

> 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.

Been there, done that, lost the t-shirt, and just found it again
on a /very/ old drive.

--
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

Subject: Re: xorpng
From: Jan Panteltje
Newsgroups: sci.crypt
Date: Mon, 10 Feb 2025 05:59 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: alien@comet.invalid (Jan Panteltje)
Newsgroups: sci.crypt
Subject: Re: xorpng
Date: Mon, 10 Feb 2025 05:59:19 GMT
Message-ID: <voc4jp$1872$1@solani.org>
References: <vl243l$3jkpe$1@paganini.bofh.team> <vl8urh$8hto$1@paganini.bofh.team> <vl9mkg$3796$5@dont-email.me> <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>
MIME-Version: 1.0
Content-Type: text/plain; ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 10 Feb 2025 05:59:21 -0000 (UTC)
Injection-Info: solani.org;
logging-data="41186"; mail-complaints-to="abuse@news.solani.org"
User-Agent: NewsFleX-1.5.7.5 (Linux-5.15.32-v7l+)
Cancel-Lock: sha1:HY/pd32THO99DBmts5V0sVMQvH4=
X-User-ID: eJwFwYEBwCAIA7CXQKDVcybY/09YUgFHM1HIUmnri1bCoFc3ZOCV0WNssw0x0fOci42cfebcNFY6+4R8/VZaFQ0=
X-Newsreader-location: NewsFleX-1.5.7.5 (c) 'LIGHTSPEED' off line news reader for the Linux platform
NewsFleX homepage: http://www.panteltje.nl/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
View all headers

On a sunny day (Mon, 10 Feb 2025 00:59:04 +0000) it happened Richard
Heathfield <rjh@cpax.org.uk> wrote in <vobj0o$t1cd$1@dont-email.me>:

>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).

Reading this I got a weird idea:
what if of you use the 'Alien problem' (discussed here long ago)
and use picture hight and picture width as the ratio for a simple ASCII message?
Leave the picture unaltered, use resize...
Have not tried it though.

Pages:12345

rocksolid light 0.9.8
clearnet tor