Re:'changeme' is valid base64
by kevin_thibedeau on Saturday October 24, 2020 @01:27PM
(#24880616)
The point of base64 is to have a safe way to get 8-bit data through channels that only support 7-bit ASCII and strip control chars.
The author is surprised that the dummy string is valid base64. Other comments on this thread discuss whether all lowercase strings are valid and whether implementations differ.
But ... Isn't the point of using base64 (rather than hex or something) to make a large share of easily typeable strings valid (which implies they can be shorter/faster/cheaper)? I.e. someone upstream of you _wanted_ "changeme" to be valid, and the misunderstanding is less about the technical details of base64, and more about a hidden conflict in desires between people making design choices separated by time, space, and perhaps organization.