Results 1 to 3 of 3

Thread: Text compress

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    Osaka
    Posts
    200

    Text compress

    I want to compress text (string) as hard as possible because if md5 function can compress in 32 characters then there must be some reverseable way of good compression.
    Any help.

  2. #2
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    Re: Text compress

    Look at gzcompress() and gzencode(). They will compress strings and allow them to be uncompressed later.

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Text compress

    Quote Originally Posted by slice
    I want to compress text (string) as hard as possible because if md5 function can compress in 32 characters
    Since collisions are possible. there's no way to get back to the original from an MD5 hash.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width