As a web developer, you must have heard or even used Base64 encodings. Generally we convert some texts or urls to Base64 encoded string. To do this...
For further actions, you may consider blocking this person and/or reporting abuse
Wonderful, thanks for the write up, Vivek! I've had to do this recently at work.
Nice explanation, Vivek. Now I know what goes on behind in the encoding and decoding part.
Since you mentioned:
One of the third-party tools is ApyHub as well, which supports base64 inputs for certain APIs like file conversions.
Sharing as a resource. :)
Thanks for sharing
Hmmm ... what is the point of adding one more to the myriads of explanations already available on Internet? Covering "hi" instead of "Man" and "Ma" and "M" which is a more complete set of examples???
I liked how you simplified the whole process splitting it into small steps, but why would we convert text into base64? are there any applicable uses of that?
Nice!! I also have a post explaining how base64 works and its use cases: dev.to/godinhojoao/base64-encoding...
Nice
Good
Good
That's not base64, it's base64url. Confusing both leads to trouble for everyone. The (deprecated) function
btoa
encodes to base64 with+
and/
instead of base64url with-
and_
.btoa
isn't deprecated anymore afaik, it just comes with documentation warning against use with Unicode.Yes, you are right. btoa is not deprecated, actually it will probably stay forever. It's just my IDE that mislead me recently by annotating it that way.