Sujet : Re: lun - Lucky Number
De : fgrsna.pynnf (at) *nospam* vagrearg.eh (Stefan Claas)
Groupes : sci.cryptDate : 08. Mar 2025, 19:38:06
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vqi2qe$90e8$1@stefan.eternal-september.org>
References : 1 2
User-Agent : flnews/1.3.0pre29 (for GNU/Linux)
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.
Regards
Stefan
-- Onion Courier Home Server Mon-Fri 15:00-21:00 UTC Sat-Sun 11:00-21:00 UTCohpmsq5ypuw5nagt2jidfyq72jvgw3fdvq37txhnm5rfbhwuosftzuyd.onion:8080 inbox age1yubikey1qv5z678j0apqhd4ng7p22g4da8vxy3q5uvthg6su76yj0y8v7wp5kvhstum