Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Compressing a string, but leaving it as a string

by hacker (Priest)
on Mar 11, 2005 at 21:02 UTC ( [id://438808]=note: print w/replies, xml ) Need Help??


in reply to Re: Compressing a string, but leaving it as a string
in thread Compressing a string, but leaving it as a string

"What's wrong with generating a random MD5 and living with the fact that you're going to be 32 chars long?"

A random MD5 doesn't help, because I can't take that MD5 string and reverse it back to the original tokens.

  • Comment on Re: Compressing a string, but leaving it as a string

Replies are listed 'Best First'.
Re^2: Compressing a string, but leaving it as a string
by Fletch (Bishop) on Mar 11, 2005 at 23:47 UTC

    Use the MD5 as a key into a DB file on the server side that has the real data saved using Storable or YAML.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://438808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-23 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found