Re: generating a random six digit number
- From: rossum <rossum48@xxxxxxxxxxxx>
- Date: Mon, 07 Dec 2009 22:44:43 +0000
On Mon, 7 Dec 2009 11:58:52 -0800 (PST), Khurram
On Dec 7, 12:58 pm, Khurram <ontrac2h...@xxxxxxxxx> wrote:How many numbers do you need? Are duplicates allowed or must all the
Hey guys I am trying to generate a random six digit number and am
wondering what options do I have. MD5 and SHa-1 are some just some
ways to do it. but nevertheless, I am curious on other ideas...alas if
the output is a six digit decimal then its not very secure. Any brute
force attack code crack it.
Your help would be greatly appreciated.
Hey thanks for your advice. I am pretty to all this security stuff and
I have to come up with a random six digit SPC code (mobil phones).
Any guides or direction in coming up with the algorithm would be most
numbers be different, at least for the first million numbers? Do you
allow 000000 or 000001 as numbers or does the first significant digit
have to be non-zero?
What does your company stand to lose (legal fees etc.) if someone sues
you for providing an insecure number?
So, any useful links and tests would be helpful as well