View previous topic :: View next topic
|
Author |
Message |
numr
New User
Joined: 02 Apr 2005 Posts: 4
|
|
|
|
Please help to provide
5 digit alpha numeric code to be generated. It should be unique.
We will be doing the above code in Cobol.
tHANKS |
|
Back to top |
|
|
rajaherein
New User
Joined: 11 Jan 2007 Posts: 23 Location: chennai
|
|
|
|
Hi,
Please post your requirements clearly. We need more info to help you. |
|
Back to top |
|
|
numr
New User
Joined: 02 Apr 2005 Posts: 4
|
|
|
|
Hi
We need to generate a security number for all records and the security number should be unique.
Eg: Security 1 -- > AB001
Security 2 -- > CF345
ETC..
Need a unique number and the number should not go out of series for minimum 10 years..
Please help to provide any solution.
Eg: A0001 , A0002 , A0003 AB001, AB002 |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
numr,
Why dont you generate sequence number (like 00000,00001 etc..). Once you reach '99999' generate alphanumeric numbers.
You need to put your effort for this and dont expect we will do 'your work'. If you face any problem, we are here to help you. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
is this some kind of homework...
I would say that relying on forum replies for security related question is not a company wise approach..
even ATM application rely on a 5 all numeric digit and do not require uniqueness..
Review Your security needs,
use a longer string,
use some kind of ashing technique
review the uniqueness requirement
have somebody review/audit Your organization security |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
use some kind of ashing technique |
sorry for replying to my own post, I just found the humor of a typo
ashing the data will certainly provide TOP security
c ashing hashing
thank You |
|
Back to top |
|
|
sxc
New User
Joined: 05 Oct 2007 Posts: 1 Location: Bangalore
|
|
Back to top |
|
|
|