Encode text to Base64 or decode Base64 strings back to text. Supports URL-safe encoding and custom padding options.