Implement base64 stdlib