24 Jun
2013
24 Jun
'13
12:15 p.m.
On 06/24/2013 01:34 PM, Dominik Charousset wrote:
Actually, it is just a simple 6-bit encoding using a lookup table [1]. In this way, the mapping is guaranteed to be collision free and invertible.
Base-64 is also just a simple 6-bit encoding using a lookup table ;-) Looking at the code you referenced, it appears that your encoding algorithm is the same as the base-64 algorithm, but your lookup table is slightly different (yours includes space and underscore instead of plus and slash, and the rest are offset by one.) Thanks for the answer.