Changed the NO_PADDING flag back to DEFAULT for Base64 encoding and decoding.