Answers for "how to get string from base64 encode node"

9

nodejs string to base64

> console.log(Buffer.from("Hello World").toString('base64'));
SGVsbG8gV29ybGQ=
> console.log(Buffer.from("SGVsbG8gV29ybGQ=", 'base64').toString('ascii'))
Hello World
Posted by: Guest on February-18-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language