Base X string encoding

Posted by Paul Stone on Stack Overflow See other posts from Stack Overflow or by Paul Stone
Published on 2010-06-17T20:04:05Z Indexed on 2010/06/17 20:13 UTC
Read the original article Hit count: 281

Filed under:
|

I'm looking for a routine that will encode a string (stream of bytes) into an arbitrary base/alphabet (like base64 encoding but I get to choose the alphabet). I've seen a few routines that do base X encoding for a number, but not for a string.

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about encoding