0 votes
1 view
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!! 

Welcome to Intellipaat Community. Get your technical queries answered by top developers !

Categories

...