Hash String to String/Int
- From: Alex Banks <nospam@xxxxxxxxxxx>
- Date: Sun, 22 May 2005 00:25:45 +0100
Can someone point me to a good cpan module employing a one way hashing algorithm?
e.g. http://dev.mysql.com/doc/mysql/en/innodb-physical-structure.html maps to 278HGKJZLKLK23 every time.
I need to be able to map a potentially long string (ie a URL) to a shorter string (or integer) so I can effectively index a table.
(i'm not worried about the occasional duplicate, i understand it's not possible to effectively condense every string acturately to a shorter unique string)
Thanks,
Alex
--
Alex Banks ---------------------- Alexite Limited http://www.alexite.com .
- Follow-Ups:
- Re: Hash String to String/Int
- From: Jay Tilton
- Re: Hash String to String/Int
- Prev by Date: FAQ 7.24 Why can't a method included in this same file be found?
- Next by Date: Re: Hash String to String/Int
- Previous by thread: FAQ 7.24 Why can't a method included in this same file be found?
- Next by thread: Re: Hash String to String/Int
- Index(es):
Relevant Pages
|