I would like to find out if the Base64 encoding mechanism provided by BouncyCastle and the equivalent mechanism providing by Apache Commons Codec are totally compatible, or if there could be compatibility problems.
I am working on a library in Java which uses Base64 encoding on some inputs and outputs (it has to encode some inputs, and it encodes some of its outputs). This library uses the Base64 encoder from Bouncy Castle.
One of the applications that will use this library will use the Base64 encoder from Apache commons to perform the encoding and decoding on its side.
I believe that the implementation from Apache follows an RTC standard, however the implementation from Bouncy Castle does not follow this standard, although it largely follows the same standard. Could there be compatibility problems between this components?
Would it be wise to only use the same Base64 encoder in components that need to communicate with each other?