CrypTen is a research framework developed by Facebook Research for privacy-preserving machine learning built directly on top of PyTorch. It provides a secure and intuitive environment for performing computations on encrypted data using Secure Multiparty Computation (SMPC). Designed to make secure computation accessible to machine learning practitioners, CrypTen introduces a CrypTensor object that behaves like a regular PyTorch tensor, allowing users to seamlessly apply automatic differentiation and neural network operations. Its design mirrors PyTorch’s modular and library-based structure, enabling flexible experimentation, debugging, and model development. The framework supports both encryption and decryption of tensors and operations such as addition and multiplication over encrypted values. Although not yet production-ready, CrypTen focuses on advancing real-world secure ML applications, such as training and inference over private datasets, without exposing sensitive data.

Features

  • Implements privacy-preserving machine learning using Secure Multiparty Computation
  • Provides CrypTensor, a PyTorch-like encrypted tensor supporting autograd and modules
  • Enables encrypted model training and inference with minimal code changes
  • Offers rich tutorials and examples for encrypted neural networks and models
  • Supports GPU acceleration for efficient encrypted computation
  • Focused on research use cases and extensible for experimental privacy applications

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow CrypTen

CrypTen Web Site

Other Useful Business Software
The most advanced C and C++ source code analyzer Icon
The most advanced C and C++ source code analyzer

Combining the benefits of static and dynamic source code analysis to deliver the most advanced & exhaustive code verification tool.

TrustInSoft Analyzer is a C and C++ source code analyzer powered by formal methods, mathematical & logical reasonings that allow for exhaustive analysis of source code. This analysis can be run without false positives or false negatives, so that every real bug in the code is found. Developers receive several benefits: a user-friendly graphical interface that directs developers to the root cause of bugs, and instant utility to expand the coverage of their existing tests. Unlike traditional source code analysis tools, TrustInSoft’s solution is not only the most comprehensive approach on the market but is also progressive, instantly deployable by developers, even if they lack experience with formal methods, from exhaustive analysis up to a functional proof that the software developed meets specifications.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CrypTen!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

JavaScript, Python

Related Categories

Python Frameworks, Python Machine Learning Software, JavaScript Frameworks, JavaScript Machine Learning Software

Registered

2025-10-08