String Encoding Methods: Base 43 -> Base 95 -
i'm looking fast way change base 43 strings (i.e. ascii 32-126 excluding alphabet) base 95 (ascii 32-126). these strings 3-20 characters long - have pseudocode this?
i don't believe there other way first decode base-43 string 'big integer' , encode base-95 string.
for string of 20 characters, intermediate integer log(43)/log(2)*20 = 109 bits long.
if have access big integer math, conversion easy implement. if can stay under 128 bits (23 characters in base-43) calculations can quite fast.
Comments
Post a Comment