Sujet : Re: fun with nonces
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.cryptDate : 05. Jul 2024, 21:46:33
Autres entêtes
Organisation : ℭ𝔥𝔦𝔣𝔣𝔯𝔢𝔭𝔲𝔫𝔨𝔰
Message-ID : <1de7695e68c4ca5bb4a87cc8d879a540480d9944@i2pn2.org>
References : 1 2
User-Agent : flnews/1.3.0pre4 (for GNU/Linux)
Chris M. Thomasson wrote:
On 7/4/2024 10:47 AM, Stefan Claas wrote:
Let's assume Bob travels a lot and he wishes to
communicate encrypted with Alice, while using an
encryption program which uses a nonce as additional
input parameter.
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
again, per day.
https://github.com/stefanclaas/nfs
I Have to do a README which explains this scenario
a bit. Hope you like the idea!
Hopefully the nonces were created by a TRNG such that they cannot be
repeated expect by pure chance... Fair enough?
Every PRNG has a period and a way to set the starting point.
Well, they can be also pseudo-random. Mine are deterministic,
based on a passphrase and date while using hkdf.
-- RegardsStefan