Created
April 21, 2017 06:05
-
-
Save amichaelgrant/dde940ac1378c1bceca37cf52ee5f95f to your computer and use it in GitHub Desktop.
Base64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> console.log(new Buffer("Hello World").toString('base64')); | |
SGVsbG8gV29ybGQ= | |
> console.log(new Buffer("SGVsbG8gV29ybGQ=", 'base64').toString('ascii')) | |
Hello World |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment