Enabling encryption in transit