About 9,330,000 results
Open links in new tab
  1. Decode Base64 data in Java - Stack Overflow

    Oct 24, 2012 · As of Java 8, there is an officially supported API for Base64 encoding and decoding. In time this will probably become the default choice. The API includes the class …

  2. Java Base64 Encoding and Decoding - Baeldung

    Jan 5, 2024 · How to do Base64 encoding and decoding in Java, using the new APIs introduced in Java 8 as well as Apache Commons.

  3. Base64 Java Encode and Decode a String - GeeksforGeeks

    Jan 31, 2024 · How to Convert a String to Base64 Encoded String in Java? In Java, the java.util.Base64 class provides static methods to encode and decode between binary and …

  4. Basic Type Base64 Encoding and Decoding in Java

    Oct 18, 2021 · Explanation: In above code we called Base64.Decoder using getDecoder() and then decoded the string passed in decode() method as parameter then convert return value to …

  5. How to decode base64 in java - Stack Overflow

    Mar 17, 2016 · You need to specify an encoding, and later use that same encoding to decode the string. You can just use UTF8. You also need to do the steps in reverse order: string -> …

  6. Decoding a Base64 string in Java - Stack Overflow

    Base64 decoder = new Base64(); byte[] decodedBytes = decoder.decode("YWJjZGVmZw=="); System.out.println(new String(decodedBytes) + "\n") ; The above code does not throw an …

  7. Java Base64 Encode and Decode Example - HowToDoInJava

    Apr 19, 2024 · Java 8 introduced ‘java.util.Base64‘ utility class that provides built-in support for performing base64 encoding and decoding operations as specified in RFC 4648 and RFC …

  8. Base64 in Java: How to Encode & Decode - B64Encode

    To perform Base64 decoding in Java, you can use the Base64.Decoder class provided by the java.util.Base64 package. In Java, the java.util.Base64 class provides support for both basic …

  9. Java 8 Base64 Encoding and Decoding (With Examples)

    Sep 8, 2020 · Learn different ways to do base64 encoding and decoding functionality in java and using java 8 api, and also examples using the apache commons-codec. 1. Knowledge Base

  10. Base64 Encoding and Decoding in Java - Atta-Ur-Rehman Shah

    Sep 28, 2019 · Learn how to Base64 encode or decode a string by using Java 8 and Apache Commons Codec.

Refresh