Re:Handling cookies is a minefield
by Retr0id on Thursday November 21, 2024 @05:17PM
(#42209264)
Isn't it a lot more than 3%? I don't think I've heard anyone say url-safe-base64 and actually mean urlencode(base64(x))
[ Parent
| on HN ]
Re:Handling cookies is a minefield
by deathanatos on Thursday November 21, 2024 @09:43PM
(#42210692)
… yeah. I assume they're getting that from doing 3/64, but for uniform bytes, you're rolling that 3/64 chance every base64-output-character. (And bytes are hardly uniform, either … TFA's example input of JSON is going to skew towards that format's character set.)