I am noticing that whenever I base64 encode a string, a \"=\" is appended at the end. Can I remove this character and then reliably decode it later by adding it back, or is
If you're using PHP the following function will revert the stripped string to its original format with proper padding: