Show newer

Recently I made some neat date / time helper functions for bash / zsh.

I.e.: 'dten' gives current decimal date and timevalues with an added nanosecond epoch
(20250826_171150_1756221110.129674445)

Or: 'dtw' returns the current date-time with an added abbreviated weekday
(20250825_100736_W12_su)

Can be helpful for those living inside the shell!

codeberg.org/oxo/dotf/src/bran

@itsfoss
Indistinct discoverer
(hint: 0x66 0x7A 0x66)

oxo boosted

Happy 19th birthday, Linux Mint! 🥳🎂

Drop a 💚 if Mint was your first distro!

#linux #linuxmint

oxo boosted
oxo boosted

Making steps into the right direction with my Rijndael cipher script. Almost done now with the key expansion and the so called g-function. Last step is implementation of the round constants.
When that is done I 'only' have to put all the stuff in a proper loop. If that works I will be happy, but the journey will not end there. A lot of testing and see how to decrypt...
😃

codeberg.org/oxo/tool/src/bran

oxo boosted

Looking for a libre alternative to Desmos online graphing calculator? (desmos.com/calculator)

I found grapk.tk!

It used to be on graph.tk, but that address no longer works - yet the name of the project remains.

So it's now here:
graph.equation.io/

Source on Github:
github.com/aantthony/graph.tk

#maths #math #graphs #gnuplot #calculator #graphingCalculator #equation #Desmos #alternative #foss #opensource #libre #freesoftware

oxo boosted

DSEG is a family of free (and open-source) fonts of 7- and 14- segment displays. These allow for designing gorgeous digital displays!

keshikan.net/fonts-e.html

#Font #GraphicDesign #Digital #Design #Inkscape

Finally found my way through the Galois Fields.
The mix-colums part of the Rijndael key scheduler is done now.
Next up: generating round keys.

codeberg.org/oxo/tool/src/bran

In my 'baes' :) project I am struggling with Galois Fields and get field-exceeding values properly calculated.

I am home now and suddenly it struck me that probably the solution can be (note-to-self):

After multiplication with the irreducible polynomial, use a mask and a bitwise AND to keep only the lower 7 bits of the final result value.

I.e.:
value=0xA3F
mask=0x7F
result=$(( value & mask ))
So then the result will become: 0b00111111

Hopefully this will work...

codeberg.org/oxo/tool/src/bran

The substitution box, one of the steps in key scheduling for the Rijndael cipher, is working.

The table is in hexadecimal, therefore some sub-optimal conversion is going on. But it works for now.

Still far away from fully working, but I am still making good progress each time I work on this project.

Next up: bitwise row and column shifting.

codeberg.org/oxo/tool/src/bran

Steadily on my way builing an Rijndael-esque encryptor.
Building upon my shell script; yesterday I made an 256 bits sustitution table.
Today I made the foundation of a key scheduler. Interestingly bash is able to process 4×4, 6×4 or 8×4 matrices. And the code is still quite simple. I am learning a lot and enjoying all the little puzzles to solve!
Follow my progress on .
codeberg.org/oxo/tool/src/bran

Duck.ai is not able to generate a complete substitution matrix from the Rijndael cipher. It starts off promising, but then gets stuck about halfway. I asked it to generate the table from the halfway point and it did. But it made up the values it produced.

oxo boosted
Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.