|
-
Aug 15th, 2004, 04:06 PM
#4
Re: Hashing a 10 digit number to a 2 digit alphanumeric
Originally posted by headkaze
I need a function that does the following:
1. Takes a 10 digit number as input and creates a unique hash of that number
3. The algorithm should be one-way (ie. irreversable)
These two points appear to be at odds - at least in my opinion.
Unique means that there is only "one" new pattern for every "original" values.
One-way means that many different "original" values become the same "new" pattern. That is how "one-way" is implemented - by having many "originals" flow into a single "new" pattern. That makes it impossible to reverse...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|