16 releases (5 stable)

new 1.4.0 Apr 8, 2024
1.3.0 Oct 25, 2023
1.2.0 Apr 5, 2023
1.1.0 Sep 29, 2022
0.1.2 Feb 27, 2020

#166 in Cryptography

Download history 85/week @ 2023-12-20 44/week @ 2023-12-27 94/week @ 2024-01-03 75/week @ 2024-01-10 189/week @ 2024-01-17 67/week @ 2024-01-24 68/week @ 2024-01-31 52/week @ 2024-02-07 53/week @ 2024-02-14 128/week @ 2024-02-21 112/week @ 2024-02-28 90/week @ 2024-03-06 117/week @ 2024-03-13 69/week @ 2024-03-20 65/week @ 2024-03-27 152/week @ 2024-04-03

419 downloads per month


45K SLoC

C 17K SLoC // 0.1% comments C++ 14K SLoC // 0.1% comments Rust 13K SLoC // 0.0% comments Shell 475 SLoC // 0.2% comments Python 200 SLoC // 0.2% comments Jinja2 170 SLoC GNU Style Assembly 128 SLoC // 0.2% comments

Parsec logo

Crates.io Code documentation

Welcome To PARSEC

PARSEC is the Platform AbstRaction for SECurity, an open-source initiative to provide a common API to hardware security and cryptographic services in a platform-agnostic way. This abstraction layer keeps workloads decoupled from physical platform details, enabling cloud-native delivery flows within the data center and at the edge.

Parsec Concept Diagram

Read the Parsec documentation online.

Read the whitepaper Security for the Infrastructure Edge.


Use Parsec when you need:

  • A portable interface to your platform's Root of Trust in order to manage keys and perform cryptographic operations without knowledge of the hardware.
  • A simple and portable way to access the best available security of your platform in your preferred programming language.

What PARSEC Provides

The value proposition of Parsec is that it provides the following:

  • Abstraction – a common API that is truly agnostic and based on modern cryptographic principles
  • Mediation – security as a microservice, brokering access to the hardware and providing isolated key stores in a multi-tenant environment
  • Ergonomics – a client library ecosystem that brings the API to the fingertips of developers in any programming language: “easy to consume, hard to get wrong”
  • Openness – an open-source project inviting contributions to enhance the ecosystem both within the service and among its client libraries


PARSEC is a collaborative project. The current list of the individuals and organizations who maintain this project can be found here.

Partner Organizations

See who is using and contributing to PARSEC.

Getting Started

If you are running on x86 Linux, check out this guide to get started with Parsec quickly!

For examples of how to access PARSEC as a client application, check this Rust client documentation.

Check the user, client developer and service developer guides for more information on building, installing, testing and using Parsec!


Come and ask questions or talk with the Parsec Community in our Slack channel or biweekly meetings. See the Community repository for more information on how to join.


We would be happy for you to contribute to Parsec! Please check the Contribution Guidelines to know more about the contribution process. Check the open issues on the board if you need any ideas 🙂!

Security Vulnerability Reporting

Check PARSEC's security policy.


The software is provided under Apache-2.0. Contributions to this project are accepted under the same license.


~1M SLoC