4 ms·
Nice idea. I often use base64 for this, since it's somewhat recognizable and there are tons of decoding tools available. Base64 does lengthen the text by a thi
by BoppreH 5y ago
Nice idea. I often use base64 for this, since it's somewhat recognizable and there are tons of decoding tools available.
Base64 does lengthen the text by a third, which may or may not be a problem. On the other hand, it doesn't need special handling of control characters, and manages to hide word lengths well.
- arethuza 5y agoMany years ago I was involved in finding and fixing a messaging bug that only appeared when the base64 encoded payload had a length that was a multiple of 87 bytes (it might have been some other value - it was 15+ years ago). Bug was in a C++ base64 encoder component.