Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (13.1k points)
Can anyone help me how I can able to encode and decode a string in JavaScript using base64 encoding?

1 Answer

0 votes
by (26.7k points)

Basically, it can be done using some browsers which can support such as Firefox, Chrome, Safari, etc. They are using functions called btoa() and atob(). Also, for the server-side JavaScript, you can able to use buffers to decode.

I hope this will help.

Want to know more about Java? Prefer this tutorial on Learn Java.

Want to become a Java Expert? Join Java Training now!! 

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...