Search Postgresql Archives

Re: Generating random unique alphanumeric IDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 17, 2009 at 12:17:29PM +0000, Jasen Betts wrote:
> On 2009-08-17, Sam Mason <sam@xxxxxxxxxxxxx> wrote:
> (i.e. their internal state is the same as
> > it was before) but individual numbers *will* be repeated.
> 
> numbers will not be repeated intil the state wraps if the number
> returned represents the entire state of the LFSR.

Huh, not thought of that!  I'd only considered them for crypto purposes
where this sort of thing would be bad as you'd be able to know exactly
what's coming next.  I'd never considered that this could be a useful
property before!

-- 
  Sam  http://samason.me.uk/

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux