| Deutsch English Français Italiano |
|
<vqi3i4$95dd$1@stefan.eternal-september.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!stefan.eternal-september.org!.POSTED!not-for-mail From: Stefan Claas <fgrsna.pynnf@vagrearg.eh> Newsgroups: sci.crypt Subject: Re: lun - Lucky Number Date: Sat, 8 Mar 2025 19:50:44 +0100 Organization: A noiseless patient Spider Lines: 70 Message-ID: <vqi3i4$95dd$1@stefan.eternal-september.org> References: <vqg3sj$3q7rg$1@stefan.eternal-september.org> <vqi2io$8r9n$1@dont-email.me> <vqi2qe$90e8$1@stefan.eternal-september.org> MIME-Version: 1.0 Injection-Date: Sat, 08 Mar 2025 19:50:45 +0100 (CET) Injection-Info: stefan.eternal-september.org; posting-host="65ed325cf3c032d106c2d9d7a5316213"; logging-data="300461"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VfLfcIlW7Da1Km6JzCdN3bQaAWYOdKS4=" User-Agent: flnews/1.3.0pre29 (for GNU/Linux) Cancel-Lock: sha1:gOMXwB/31B2SVJa8U23dgtAMsrE= sha1:H9Ge6K+7jcmoffmUfIIdZn7kbh8= X-Ed25519-Sig: 3e94263298793bc24c026a9bd1f526abeb60ec13af0891653e497fd5bc6f1b42 4378f594851352f925d769e1fdc57f1f3d19a38a1e1c1c5b2e5a68dd73922504 X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a X-Date: It's Sat Sep 11512 07:50:44 PM CET 1993, the September that never ends. Bytes: 3850 Stefan Claas wrote: > Rich wrote: > > Stefan Claas <fgrsna.pynnf@vagrearg.eh> wrote: > > > Hi all, > > > > > > from the previous discussion with Richard I came up with a new idea to > > > create a random number. I call the Go program lun = Lucky Number. > > > > How /random/ do you want this number to be? > > > > > Here is a sample run with 3 seconds set. You can also use1 or many > > > more seconds. > > > > > > $ lun 3 > > > > > > Started: 2025-03-08 01:29:57 > > > > > > 2287128966796887 1741393797 2287130708190684 > > > 2443764953918824 1741393798 2443766695312622 > > > 8241182675020522 1741393799 8241184416414321 > > > > > > Ended: 2025-03-08 01:29:59 > > > Time elapsed: 00:00:03 > > > Multiplying: 2287130708190684 * 8241184416414321 > > > Your lucky number is: 18848665950643714819328816385564 > > > SHA256: 28fd1445771c772f403eb4092b722640a529b5c84c3ee50bc6d631454e83daed > > > > > > The first column is a random number > > > > So, you already have a *random number*. Why do any more? > > > > > , the second the local Unix-Epoch-Time > > > > Very *not* random. > > > > > and the third shows the addition of column1 and column2. > > > > Provided the random number was "good enough randomness" this has no > > benefit. > > > > > The lucky number was generated by multiplying the first and last > > > value of the right column. > > > > The product R1 * R2 is little different, randomness wise, from the > > product R1 * (R2 + Predictable_Offset). If you can generate random > > numbers, what is the value in computing R1 * (R2 + Predictable_Offset)? > > > > > Hope you like the idea! > > > > I fail to see any point to it. > > > > If you can generate a random number, then you already have a random > > number. You can stop here and enjoy using your random number. > > Why do you always have something to "complain" about? Enjoy the software, > it is cool and not so boring like using /dev/urandom. Or better instead > of "complaining" do something creative, crypto wise and show it to us too. Not to mention that you can do lun with a pencil and paper to get good entropy (where humans fail) for a password, because it is simple and easy to understand. Regards Stefan -- Onion Courier Home Server Mon-Fri 15:00-21:00 UTC Sat-Sun 11:00-21:00 UTC ohpmsq5ypuw5nagt2jidfyq72jvgw3fdvq37txhnm5rfbhwuosftzuyd.onion:8080 inbox age1yubikey1qv5z678j0apqhd4ng7p22g4da8vxy3q5uvthg6su76yj0y8v7wp5kvhstum