Sujet : Re: xorpng
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.cryptDate : 04. Jan 2025, 22:08:40
Autres entêtes
Organisation : To protect and to server
Message-ID : <vlc80o$ipdu$1@paganini.bofh.team>
References : 1 2 3 4 5 6
User-Agent : flnews/1.3.0pre29 (for GNU/Linux)
Chris M. Thomasson wrote:
On 1/4/2025 10:06 AM, Stefan Claas wrote:
Chris M. Thomasson wrote:
On 1/3/2025 7:13 AM, Stefan Claas wrote:
Chris M. Thomasson wrote:
On 12/31/2024 5:00 PM, Stefan Claas wrote:
echo 'Happy News Year 2025' | ternary
2112102022020111101010222211010022112012102120110020100021120220
10000111010121200020221000211000220022020
$ echo 'Happy News Year 2025' | ternary | ternary -d
Happy News Year 2025
(My program works with binary data as well.)
Side note, try to get 3-ary roots from the following... It's not that
hard but its fun wrt the results one can reap from it:
https://paulbourke.org/fractals/multijulia
Nice, but I do no longer do Computer Graphics.
In a sense, its all about discovering the n-ary roots of a complex
number... For fun, I mapped actual data to said roots... :^)
I think I called them nits. trits would be 3-ary, akin to ternary.
Since you do a lot graphics programming, have you ever thought
about encrypting images with XOR?
Indeed.
I just did a small test with
my xorpng program and wrote a message for you with my little
WACOM tablet and Microsoft Paint. :-)
I think this is a really cool (but then with a mouse instead
of a tablet) when traveling and exchanging keys in advance with
family and friends and using a Bitmessage's alt.anonymous.messages
chan and my p4bm program, in case Computers are compromised at the
destination, when not carrying one and you need no credentials and
only the keys on a Kanguru Defender 3000.
Here are the test images:
https://jmp.sh/jp1A5kvq
and here is my xorpng and p4bm program:
https://github.com/706f6c6c7578/xorpng
https://github.com/706f6c6c7578/p4bm
I am sure you are familiar with tux:
https://words.filippo.io/the-ecb-penguin/
We can encrypt that image in many different ways, indeed.
So, do you have an image encryption solution too?
Here is an analysis of my k-1.png and encrypted.png.
(one must make sure that the keys are safely stored)
https://jmp.sh/9fvXJvmo$ python3 image_analysis.py
fourier_peaks: 194566.0
wavelet_energy: {'LL': 16776624377.0, 'LH': 1891692481.0000002, 'HL': 621089515.0000001, 'HH': 619257027.0000001}
histogram_variance: {'red': 791946.0, 'green': 792130.44, 'blue': 792015.6}
lsb_ratio: 0.9868576388888889
noise_level: 45.981313657407405
region_hash_similarity: 1.0
total_pixels: 230400
different_pixels: 227953
difference_percentage: 98.93793402777777
-- RegardsStefan