I am trying to construct a sentence/letter combination that will return every base64 character, but failing to find a word for purposes of unit testing.
The unit tests I have so far are failing to hit the lines that handle the + and / characters. While I can sling a them at the encoder/decoder directly it would be nice to have a human readable source (the base64 equivalent of ‘the quick brown dog’).
Here is a Base64 encoded test string that includes all 64 possible Base64 symbols:
It decodes to a string composed entirely of relatively human-readable text:
This decoded string contains only letters in the limited range of isprint()’able 7-bit ASCII characters (space through ‘~’).
Since I did it, I would argue that it is possible :-).