Sujet : Re: Seriation
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.cryptDate : 10. Dec 2024, 23:35:16
Autres entêtes
Organisation : To protect and to server
Message-ID : <vjafnl$130hn$1@paganini.bofh.team>
References : 1 2 3 4 5 6
User-Agent : flnews/1.3.0pre21 (for GNU/Linux)
Stefan Claas wrote:
Stefan Claas wrote:
$ echo -n 'Hello sci.crypt! :-)' | xxd -ps | dkhf
48656C6C6F207363
692E637279707421
203A
2D29
$ echo -n 'Hello sci.crypt! :-)' | xxd -ps | dkhf | seriation
46 89 62 5E 66 C3 67 C2 67 F9 27 00 77 34 62 31
22 0D 32 A9
$ dokahex
Tagesschlüssel für den 09.12.2024 (UTC)
Tagesschlüssel 1:
Kasten: A Kasten: B
0 4 6 A 6 9 E 3
F 1 3 E 7 2 4 D
7 C D 5 1 C 0 5
B 2 9 8 F 8 A B
And to simplify the encryption/decryption process, we could
do it this way. We only mirror from a -> b and b -> a, like:
With the seriation from above and the example box a and b:
Ciphertext: 90 B4 E1 etc.
This doublebox hex variation with only mirroring is IMHO
easy and would allow to transmit small binary blobs. :-)
I have now four programs ready. :-)
1. dkh (Doppelkasten Hex = doublebox hex)
2. dks (Doppelkasten Seration = doublebox seriation)
3. dkt (Doppelkasten Tagesschlüssel = doublebox daily keys)
4. dkk (Doppelkasten Krypto = doublebox crypto)
Sample run with yesterdays's message and today's keys:
$ echo -n 'Hello sci.crypt! :-)' | dkh > message.txt
$ cat message.txt
48656C6C6F207363
692E637279707421
203A2D294A53594F
4848575350535A44
$ dks < message.txt > seriation.txt
$ cat seriation.txt
46 89 62 5E 66 C3 67 C2 67 F9 27 00 77 34 62 31
24 08 34 A8 25 D7 25 93 45 A0 55 33 55 9A 44 F4
$ dkk -k keys.txt < seriation.txt > ciphertext.txt
$ cat ciphertext.txt
06 2B 68 8E 66 4D 62 48 62 AB 72 C4 F2 5C 68 59
7C C5 5C B5 73 32 73 1D 03 B4 83 5D 83 1F 0C AC
$ cat keys.txt
Daily Keys for Dec.10.2024 (UTC)
Daily Keys 1:
Box: A Box: B
A B 8 3 B 9 2 5
7 E 0 4 F E C 0
C 1 F 9 4 D A 1
6 D 2 5 6 3 7 8
-- RegardsStefan