Re: Toaster to Generate Random Numbers
From: Barry Margolin (barmar@genuity.net)
Date: 01/10/03
- Next message: those who know me have no need of my name: "Re: Can a website grab your userID or email address from javascript or any such means?"
- Previous message: John Elsbury: "Re: "Email only" virus scan software"
- In reply to: Guy Macon: "Re: Toaster to Generate Random Numbers"
- Next in thread: Bill Unruh: "Re: Toaster to Generate Random Numbers"
- Reply: Bill Unruh: "Re: Toaster to Generate Random Numbers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Barry Margolin <barmar@genuity.net> Date: Fri, 10 Jan 2003 01:27:19 GMT
In article <v1s65ur2kvald7@corp.supernews.com>,
Guy Macon <. http://www.guymacon.com/resume.html .> wrote:
>Barry Margolin wrote:
>
>>Although the outsider has access to all the messages, he doesn't know which
>>messages you digested and in which order you scanned them to produce your
>>random seed. Also, there's quite a bit of server-specific data, such as
>>article numbers, and Path and Xref headers, so unless he's using the same
>>news server as you are he won't get the same results.
>
>In other word, you randomly picked a newsserver and randomly picked
>the articles to process, keeping those decisions secret. Have you
>really increased the entropy over that of the RNG you used to do
>the choosing?
I think so.
Suppose you have an RNG that chooses a random integer from 1 to 10. You
keep the past 10 days of newspapers, and use this number to select which of
them to digest to seed your random number sequence.
At first glance this doesn't seem to be any better -- you're just selecting
among 10 random number sequences, which you could just as easily do with
the original integer. But the difference is that the function changes
every day. If the simple RNG produces 1 today and 1 tomorrow, you'll get
different sequences.
I admit that I'm not a mathematician and I haven't done a detailed
analysis. The above example is really simple and has flaws (e.g. 1 today
is the same as 2 tomorrow), but I expect that it could be improved upon to
produce good results (e.g. when a newspaper is used, take it out of the set
so that it won't be used again).
-- Barry Margolin, barmar@genuity.net Genuity, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: those who know me have no need of my name: "Re: Can a website grab your userID or email address from javascript or any such means?"
- Previous message: John Elsbury: "Re: "Email only" virus scan software"
- In reply to: Guy Macon: "Re: Toaster to Generate Random Numbers"
- Next in thread: Bill Unruh: "Re: Toaster to Generate Random Numbers"
- Reply: Bill Unruh: "Re: Toaster to Generate Random Numbers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|