Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32698 > unrolled thread

Re: How to generate account number?

Started byMichael Torrie <torriem@gmail.com>
First post2012-11-03 08:50 -0600
Last post2012-11-03 08:50 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to generate account number? Michael Torrie <torriem@gmail.com> - 2012-11-03 08:50 -0600

#32698 — Re: How to generate account number?

FromMichael Torrie <torriem@gmail.com>
Date2012-11-03 08:50 -0600
SubjectRe: How to generate account number?
Message-ID<mailman.3241.1351954293.27098.python-list@python.org>
On 11/02/2012 03:13 PM, Andriy Kornatskyy wrote:
> 
> Requirements for `account number` generator:
> 
> 1. Issue pseudo random consistent number (must be unique for dozen millions of records)
> 2. Easy check validity (without a need to make a database call)
> 
> Interested? Read more here:
> 
> http://mindref.blogspot.com/2012/11/generate-account-number.html
> 
> Comments or suggestions are welcome.

Thank you for sharing.  Your post came along at just the right time.  I
was just pondering on how to create a number that is unique each time
(or most of the time), and unlikely to be guessed ahead of time.  Your
technique should work very well for me.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web