Java 8 Encode/Decode base64 Example
Java 8 Encode/Decode base64 Example explains about encoding and decoding of a Base64 string using java 8
I have already wrote an article Encode And Decode In Base64 Using Java before 3 years, about encoding/decoding base64 formatted string using different java third party api's. This is because in that days, there is no decent api is available for encode/decode a string into base64
Finally Java 8 included new feature to encode/decode base64 string without the help of any third party libraries
Encode And Decode In Base64 Using Java
Encode And Decode In Base64 Using Java explains about different techniques for Encode Base64 using java / Decode Base64 using java.
What is Base64 encoding?
How to Encode a String to Base64?
Base64 encoding is commonly used when there is a need to encode / decode binary data stored and transferred over network. It is used to encode and decode images, photos, audio etc as attachments in order to send through emails.
For Example Evolution and Thunderbird email clients use Base64 to obfuscate email passwords.