Sujet : Re: Seriation
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.cryptDate : 14. Dec 2024, 15:56:05
Autres entêtes
Organisation : To protect and to server
Message-ID : <vjk6al$26i44$1@paganini.bofh.team>
References : 1 2 3 4 5 6 7
User-Agent : flnews/1.3.0pre28 (for GNU/Linux)
Stefan Claas wrote:
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)
Added dkt+, with -p for password and -s for salt parameter, so
that it can be used outside of sci.crypt. :-)
Additionally dkk can now use key sequences, like -s 23,5,17 etc.,
for using mutliple keys, thus making it harder to crack. Default
is to use keys 1,2 from the daily list.
Example run:
$ echo -n 'Hello sci.crypt! :-)' | dkh > message.txt
$ cat message.txt
48656C6C6F207363
692E637279707421
203A2D2946584256
4E465A5A4E535A59
$ 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 0E 34 A6 25 DA 25 9A 44 6E 55 83 45 2A 55 69
$ dkk -s 5,1,3 < seriation.txt > ciphertext.txt
$ cat ciphertext.txt
C0 AF 9B 79 90 24 97 2B 97 1F 47 EE F7 5D 9B 5A
4D E9 5D D0 42 38 42 B8 CD 99 72 A4 C2 48 72 9F
$ cat keys.txt
Tagesschlüssel für den 14.12.2024 (UTC)
Tagesschlüssel 1:
Kasten: A Kasten: B
5 2 7 B C B F 5
0 E 6 A 6 1 2 D
F 9 C 3 7 E 8 3
4 D 1 8 4 9 0 A
Tagesschlüssel 2:
Kasten: A Kasten: B
3 9 1 B 6 9 B 5
C 4 D F E 4 2 1
E A 7 2 A C 0 F
0 6 8 5 7 D 3 8
Tagesschlüssel 3:
Kasten: A Kasten: B
4 A F 8 E 9 3 7
1 6 D 5 C 2 1 0
2 C E 0 D B 5 8
B 9 7 3 F 4 A 6
Tagesschlüssel 4:
Kasten: A Kasten: B
5 B F 0 E F 4 2
2 E D 9 6 0 B 1
1 C 3 7 3 A C 9
6 8 A 4 8 5 D 7
Tagesschlüssel 5:
Kasten: A Kasten: B
7 1 D A 2 3 7 6
3 B 2 5 9 B D C
E 8 0 9 1 F 4 5
C F 4 6 0 A E 8
-- RegardsStefan