Deutsch English Français Italiano |
<50be77cbbdee3fcf1ab27e15586ede96bbf2e710@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: Stefan Claas <pollux@tilde.club> Newsgroups: sci.crypt Subject: Re: fun with nonces Date: Fri, 5 Jul 2024 17:33:30 -0000 Organization: =?UTF-8?b?4oSt8J2UpfCdlKbwnZSj8J2Uo/CdlK/wnZSi8J2UrfCdlLLwnZSr8J2UqA==?= =?UTF-8?b?8J2UsA==?= Message-ID: <50be77cbbdee3fcf1ab27e15586ede96bbf2e710@i2pn2.org> References: <324bb1a7476b82ad04e91b41ab885894d25358e3@i2pn2.org> <v67rss$34v76$1@dont-email.me> <1e2177bc9762cbdbd5898f77326a7d96d233b60b@i2pn2.org> <v695fh$3bim4$1@dont-email.me> MIME-Version: 1.0 Injection-Date: Fri, 5 Jul 2024 17:33:52 -0000 (UTC) Injection-Info: i2pn2.org; logging-data="2264008"; mail-complaints-to="usenet@i2pn2.org"; posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8"; User-Agent: flnews/1.3.0pre4 (for GNU/Linux) X-Spam-Checker-Version: SpamAssassin 4.0.0 X-Date: It's Fri 11266 Sep 1993 07:33:30 PM CEST, the September that never ends X-Ed25519-Pub: 43e6681c5cf3cdc2f9ccf975f8a01b18c5e84bf0ba00605faba9cc0f8757a117 X-Finger: tilde.club/~pollux/ X-Ed25519-Sig: 63e992192c456dc706a507411ffd7b97c55244bc55e227e074ffd8710b295c3a 0cacde6c79a9632e9d5685090bd422e1cedf8ab91c50d2942cca353639ddac04 Bytes: 2291 Lines: 26 Rich wrote: > 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. And that is perfectly fine, unless of course someone here would show me a better solution, for using nonces without transmitting them. -- Regards Stefan