Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thayne
· 6y ago · 0 comments
btoa is base64 not base64url. And even if it was base64url, it takes a "binary string", so using it on, say, a Uint8Array is non-trivial.
Comments
[–]
tomashubelbauer
6y ago
Thank you, I didn't realize the URL safe variant of Base64 had a name and that it was this!