into base64, the value should be its representation in shorter string.
But I had this where two base64 with different in last char can be desrialized to the same guid.
Why?
Like if you desirialize: jFIRNoMM-Ahy7FNXvdO6Ac, it's the same as jFIRNoMM-Ahy7FNXvdO6AQ.
- is not a valid char in base64 🤔 only a-z0-9+/ and = padding
there are 2 variants of base64 encoding
My bad, these are after conversion for urls. `jFIRNoMM+Ahy7FNXvdO6Ac==` `jFIRNoMM+Ahy7FNXvdO6AQ==`
Обсуждают сегодня