| Posted by Nel on 07/05/17 11:40 
I am trying to find a php solution to encoding an md5 hex string into another base.
 
 Using ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890 as a
 characters for a base 62
 i.e.
 A = 1
 a =  27
 0 = 62
 00 = 3844
 000 = 238328
 
 This should make the hex string much shorter.
 
 1. Does anyone understand what I'm trying to do here?
 2. Has this wheel already been invented?
 3. Any ideas about the most efficient way to encode and decode this kind of
 thing?
 
 Thanks,
 
 Nel
 [Back to original message] |