Data Encoding Tutorials - Herong's Tutorial Examples
∟Base64 Encoding and Decoding Tools
This chapter provides notes and tutorials on Base64 encoding tools and built-in implementations in different programming languages. Topics include reviewing Base64 online tools; introducing Base64 command line tools on Windows, Linux and macOS systems; testing built-in implementations of Base64 encoding in Java, Python, PHP and Perl.
Base64.Guru - Base64 Online Tool
Windows Command - "certutil -encode/-decode"
Linux Command - "base64"
macOS Command - "base64"
Java Built-In Implementation of Base64
Java Built-In Implementation of MIME Base64
Python Built-In Implementation of Base64
Python Built-In Implementation of MIME Base64
PHP Built-In Implementation of Base64
PHP Built-In Implementation of MIME Base64
Perl Built-In Implementation of Base64
Perl Built-In Implementation of MIME Base64
Conclusions:
- There many online tools that allows you to perform Base64 encoding and decoding.
- You can use "certutil -encode" command on Windows system to perform Base64 encoding.
- You can use "base64" command on Linux system to perform Base64 encoding.
- You can use "base64" command on macOS system to perform Base64 encoding.
- You can use "java.util.Base64.Encoder.encode()" method in Java to perform Base64 encoding.
- You can use "base64.b64encode()" method in Python to perform Base64 encoding.
- You can use "base64_decode()" function in PHP to perform Base64 encoding.
- You can use "MIME::Base64.encode_base64()" function in Perl to perform Base64 encoding.
Table of Contents
About This Book
Base64 Encoding
►Base64 Encoding and Decoding Tools
Base64URL - URL Safe Base64 Encoding
Base32 Encoding
URL Encoding, URI Encoding, or Percent Encoding
UUEncode Encoding
References
Full Version in PDF/EPUB