Encode plain text to Base64 or decode Base64 back into text with validation and helpful error feedback.