The company is improving encryption for Outlook.com and OneDrive users and aiming to boost confidence of foreign governments in their integrity.