Is it possible to get collisions with base64 Encoding / Decoding
问题 A similar question was asked here: Is base64 encoding always one to one And apparently the answer (to the similar question) is YES. I already know that, BUT I'd be curious to know the explanation for why these two strings appear to be equivalent after being Base64 decoded: cwB0AGQAAG== cwB0AGQAAA== One more thing... when you select the de-coded string then recode, both re-encode to the same value: cwB0AGQAAA== What happened? 回答1: base64 is not one-to-one; there are multiple ways to encode the