Solved

Key-Generation

Posted on 1998-02-13
5
461 Views
Last Modified: 2010-04-16
I want to implement a regisration for programs I make.  I would like to make a key-generation - where if one's name was "Bill Smith" the key would be "g6za91v"  No matter how big the name or small it is, the key would be 7 char/#s (or any amount)I get the basics but i cant figure out exactly how.  That program will be for me when people registor and i give them their code.  The thing i also need would be a procedure for regitering where it knows what is valid with what charactor. (case sensitive)  I think using ASCII char # then manipulating may work.  
0
Comment
Question by:weinrj
5 Comments
 
LVL 2

Expert Comment

by:kellyjj
ID: 1217305
Are you looking for source code?  If so  look for the web site  'the source site'.  They pleanty of source code that I think may answer your question.
0
 

Author Comment

by:weinrj
ID: 1217306
sorry for failing it....i need the URL
0
 
LVL 1

Accepted Solution

by:
Nexial earned 20 total points
ID: 1217307
Look up 'hash' or 'hashing' in any computer science book.
Essentially you want to hash the user's identifying information
into a standard size string which is unique to that user.  
If you really want to get detailed, then in the last 10 years,
the ACM has published several articles (in COMM ACM) containing
algorighms for minimal perfect hashing, but that level is really unnecessary for your application.

0
 
LVL 1

Expert Comment

by:Nexial
ID: 1217308
AARGH - algorithms, not algorighms!

0
 
LVL 84

Expert Comment

by:ozo
ID: 1217309
If anyone is interested in minimal perfect hashing, here's a nice CACM article:
Practical minimal perfect hash functions for large databases;
Edward A.Fox , Lenwood S.Heath , Qi FanChen , and Amjad M.Daoud;
Commun. ACM 35, 1 (Jan. 1992), Pages 105 - 121

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question