Java 8 Base64

Java 8 Base64 provides a standard way to do Base64 encoding and decoding.
There are three types of Base64 encoding:
Basic: Encoder produces a set of characters within A-Za-z0-9+/. Decoder rejects any character NOT mapped to A-Za-z0-9+/.
URL: Encoder produces a URL or safe filename which is set of characters within A-Za-z0-9+_.
MIME: Output is mapped to MIME friendly format.

I. Basic

II. URL

II. MIME

The result is:

By JavaSampleApproach | December 21, 2016.


Related Posts


Got Something To Say:

Your email address will not be published. Required fields are marked *

*