I am looking for a procedure that will encode a string (stream of bytes) into an arbitrary base / alphabet (e.g. base64 encoding, but I can choose the alphabet). I saw several routines that use basic X encoding for a number, but not for a string.
source
share