Sujet : Re: Seriation
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.cryptDate : 10. Dec 2024, 01:48:13
Autres entêtes
Organisation : To protect and to server
Message-ID : <vj834t$v3u9$1@paganini.bofh.team>
References : 1 2 3 4 5
User-Agent : flnews/1.3.0pre21 (for GNU/Linux)
Stefan Claas wrote:
Anyways, I came up now with the idea to use hex values, so that
we may come up with some programs, for use in sci.crypt ... :-)
$ 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
To bring messages in the right hex format for seriation, which
can be a bit tricky, I suggest to use padding (multiple of 16
bytes) on the original message(s), prior converting to hex and
seriation.
This guarantees that seriation always works properly.
And padding is in general good practice.
-- RegardsStefan