17-09-2025, 03:38 PM
(17-09-2025, 03:09 PM)oshfdk wrote: You are not allowed to view links. Register or Login to view.In your first post "ber" was encoded as "qoak" and "liber" as "chedys". Unless you remap "qo" and "ch" to a single glyph somewhere downstream, I assume the ciphertext should be longer than the plaintext? To put it differently, when you compute the entropy of the encoded text, do you count "qo" and "ch" as a single glyph or as a pair of glyphs?
You are right, sorry. During these days I have been experimenting with single letter cipher and leter/bigram ciphers (the first version included bigrams). I found that ciphering bigrams result in a very complex conversion table for the scriba, and I prefered to work on single letters. The code I shared is ready to set to work with bigrams, if you wish, so you can easily see examples and differences. If you cannot run the code, I can run it for you and post the results. Just tell me.
(17-09-2025, 03:09 PM)oshfdk wrote: You are not allowed to view links. Register or Login to view.I'm not sure I understand the reasoning here. From my point of view computing the entropy with the residual is a perfect metric to understand exactly how much entropy is offloaded to the residuals.
OK, I see your intentions. In this point of view, yes, you are right. I will try to calculate the entropy with the residuals, so we can see the numbers. I guess it should be the difference between the original entropy vs. the ciphered entropy, but let's check.


