Sujet : Re: fun with nonces
De : rich (at) *nospam* example.invalid (Rich)
Groupes : sci.cryptDate : 05. Jul 2024, 17:02:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v695fh$3bim4$1@dont-email.me>
References : 1 2 3
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Stefan Claas <
pollux@tilde.club> wrote:
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.
And it is still psudeo-random.
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.
That is your choice, just be prepared for lots of confusion on the part
of others.