Sujet : Re: fun with nonces
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.cryptDate : 05. Jul 2024, 15:23:41
Autres entêtes
Organisation : ℭ𝔥𝔦𝔣𝔣𝔯𝔢𝔭𝔲𝔫𝔨𝔰
Message-ID : <1e2177bc9762cbdbd5898f77326a7d96d233b60b@i2pn2.org>
References : 1 2
User-Agent : flnews/1.3.0pre4 (for GNU/Linux)
Rich wrote:
Stefan Claas <pollux@tilde.club> wrote:
He does not need to send Alice the nonces, once he
arrived, because they both have a shared secret.
Alice and Bob can generate them by themselves, no
matter what timezone they are in and the nonces will
be random and can be re-generated with the same values
They cannot be simultaneously "random" and be capable of being
"re-generated with the same values".
At best, they are psudeo-random. And, looking over the code, indeed,
they are generated from a psudeo-random generator, go's 'rand'.
It uses now xorshift128+ instead of math.rand, to have a 128bit
seed instead of 64bit.
https://github.com/stefanclaas/nfs
Not the best choice in acronym, as 'nfs' is already quite well known in
tech circles as "Network File System".
I know, but I keep the name unless there is a standard Linux or Windows
command with the same name.
-- RegardsStefan