#fhe #bfv #lattice

sunscreen_runtime

This crate provides a runtime for performing various FHE operations within Sunscreen

7 unstable releases

0.8.1 Sep 11, 2023
0.8.0 Aug 23, 2023
0.7.0 Oct 17, 2022
0.6.1 Jul 14, 2022
0.5.0 May 17, 2022

#2161 in Cryptography

Download history 26/week @ 2023-11-06 17/week @ 2023-11-13 61/week @ 2023-11-20 28/week @ 2023-11-27 19/week @ 2023-12-04 28/week @ 2023-12-11 16/week @ 2023-12-18 28/week @ 2023-12-25 17/week @ 2024-01-01 21/week @ 2024-01-08 19/week @ 2024-01-15 15/week @ 2024-01-22 22/week @ 2024-01-29 18/week @ 2024-02-05 57/week @ 2024-02-12 186/week @ 2024-02-19

283 downloads per month
Used in 2 crates

AGPL-3.0-only

13MB
259K SLoC

C++ 102K SLoC // 0.1% comments C 92K SLoC // 0.2% comments Visual Studio Project 21K SLoC C# 14K SLoC // 0.3% comments Python 10K SLoC // 0.3% comments Rust 9K SLoC // 0.2% comments Shell 3K SLoC // 0.2% comments Ada 1.5K SLoC // 0.2% comments GNU Style Assembly 1.5K SLoC // 0.3% comments Assembly 1.5K SLoC // 0.2% comments Pascal 1K SLoC // 0.2% comments Visual Studio Solution 878 SLoC Bitbake 526 SLoC Batch 169 SLoC Prolog 161 SLoC Lua 68 SLoC // 0.0% comments Automake 33 SLoC ReScript 3 SLoC Forge Config 1 SLoC // 0.8% comments

This crate is a component of the Sunscreen compiler.


lib.rs:

This crate contains the types and functions for executing a Sunscreen FHE or ZKP program.

Dependencies

~8–13MB
~214K SLoC