I need to encode a string of about 1000 characters that can be any byte value (00-FF). I don\'t want to use Hex because it\'s not dense enough. the problem with base64 as
You could use Base32 instead. Less dense than Base64, but eliminates unwanted characters completely.