Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 30
    When to use with padding vs without padding?? Commented Feb 11, 2016 at 17:00
  • 5
    Take care when switching from apache to java 8: org.apache.commons.codec.binary.Base64.decodeBase64 also accepts mime encoded input, but java.util.Base64.getDecoder not. If you also want to decode mime encoded you need to use java.util.Base64.getMimeDecoder. Commented Dec 12, 2016 at 12:08
  • 2
    @IgorGanapolsky here is the anwer to what is padding? stackoverflow.com/questions/4080988/… It has to do with filling the String with 0 bytes if its odd Commented Oct 1, 2018 at 20:54