Re: [HACKERS] Query cancel and OOB data

Brett McCormick <brett@work.chicken.org>

From: Brett McCormick <brett@work.chicken.org>
To: ocie@paracel.com
Cc: tgl@sss.pgh.pa.us (Tom Lane), maillist@candle.pha.pa.us, byronn@insightdist.com, hackers@postgreSQL.org
Date: 1998-05-26T21:11:18Z
Lists: pgsql-hackers
/dev/urandom performs a similar function without the wait.  of course
not all of the data is new, but it should still be pretty secure.

On Tue, 26 May 1998, at 14:00:57, ocie@paracel.com wrote:

> A neat feature of linux is that it has a kernel random number
> generator which is fed random data from interrupt times.  The only
> drawback is that this is sort of a "pool", so whn the pool is full,
> drawing 8 bytes from it is not a problem, but when the pool is
> drained, it can take some time to generate more data.  At any rate, it
> might be a good starting point for a postgres random number generator
> -- sample usage of shared memory and perform a hash on this.  From
> "applied cryptography":