After running an ant target ( that checks java code for correct coding conventions ex variable naming conventions , proper indentation etc ) I need to generate a 16 digit (or more) code
When developer tries to checkin his code its required that he/she must enter this code else he/she wont be allowed to checkin
Not sure how to generate and recognize the keys ?? are there any libraries available for same ??
Jesper Young wrote:Generating a 16-digit code is easy, just generate 16 random digits. Or are there other, extra requirements that you're not telling us?
As Jesper Young said , its easy to generate the random 16 digit number but how to cross verify this number.... the recognize part ???
lavnish lalchandani wrote:Not sure how to generate and recognize the keys ?? are there any libraries available for same ??
Joined: Feb 28, 2007
yeah more worried about how to cross verify this number.
Its something like 'registration keys' example when you install a software (MS word etc) you enter a code PARTICULAR 16 digit code not ANY code
as keys are for internal employees use only ... i am looking forward for some average algorithm .. not commercial level thing