Base64-encode UTF-8 text or decode base64 back to text, standard or URL-safe alphabet. Deterministic, no network.