This project introduces a unified software stack for secure computation that integrates cryptographic and hardware-based techniques, each with its own unique strengths, challenges, and performance characteristics. The project’s novelties include (i) software abstractions and intermediate representations that allow reusing functionality across technologies and workloads, (ii) a distributed and fault-tolerant system runtime for secure data analysis pipelines, and (iii) a versatile performance modeling and optimization framework that integrates diverse cost metrics to efficiently deploy secure data pipelines in heterogeneous environments. The project’s broader significance is the potential to enable secure analytics in a scalable fashion; an ability that will have implications on how modern society protects privacy and intellectual property while extracting value from data. The project includes three complementary thrusts that focus on software abstractions, scalable workload distribution, and cost-based optimization. The project designs a unified software architecture for secure analytics that supports diverse technologies (fully homomorphic encryption, secure multiparty computation, trusted execution environments) and workloads (machine learning, relational analytics, time series computations) on top of the same oblivious execution engine. Second, the project develops a novel parallel and distributed system runtime that scales secure computation within and across machines, leveraging heterogeneous resources and ensuring transparent fault tolerance. Finally, the project introduces original cost-based optimization techniques that incorporate performance objectives, threat models, and monetary budgets to enable automated planning of secure data pipelines. The project aims to make privacy-enhancing technologies a core component of the computer science education and to lay the foundation for a new generation of secure computing systems by rethinking the entire analyti