Path: ...!weretis.net!feeder8.news.weretis.net!newsfeed.bofh.team!paganini.bofh.team!not-for-mail From: Stefan Claas Newsgroups: sci.crypt Subject: Re: xorpng Date: Sun, 5 Jan 2025 10:40:58 +0100 Organization: To protect and to server Message-ID: References: Mime-Version: 1.0 Injection-Date: Sun, 5 Jan 2025 09:41:14 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="848634"; posting-host="P19FF9OOayxo5XAXCSdPUg.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A"; User-Agent: flnews/1.3.0pre29 (for GNU/Linux) Cancel-Lock: sha1:ZNvSM0EzJIROG6JBW7DGmF2pni4= X-Ed25519-Sig: d4af9ca0bab1e4a8712f3aadf8c5ccb314daf97ce2b709635f938b9cffcb35c3 a67ced3d8642c0dc9ff554bb381252e5fa622318c1ce4167470d14eccee5c602 X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a X-Notice: Filtered by postfilter v. 0.9.3 X-Date: It's Sun Sep 11450 10:40:59 AM CET 1993, the September that never ends. Bytes: 2719 Lines: 27 Stefan Claas wrote: > Rich wrote: > > Stefan Claas 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? > > To make more content as allowed postable on social media, like X. I.e, first you put data with file2png in a .png and then encrypt it to finally post it. I can do this now with my xorpic program, but I thought a solution with AES-GCM or XChaCha20+ploy1305 is better. -- Regards Stefan