Y
Hacker News
new
|
ask
|
show
|
jobs
by
thayne
2355 days ago
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.
1 comments
tomashubelbauer
2355 days ago
Thank you, I didn't realize the URL safe variant of Base64 had a name and that it was this!
link