#fhe #bfv #lattice #cryptography

sunscreen_runtime

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

5 unstable releases

0.7.0 Oct 17, 2022
0.6.1 Jul 14, 2022
0.6.0 Jul 14, 2022
0.5.1 Jun 24, 2022
0.5.0 May 17, 2022

#1050 in Cryptography

Download history 13/week @ 2022-12-06 12/week @ 2022-12-13 9/week @ 2022-12-20 10/week @ 2022-12-27 1/week @ 2023-01-03 11/week @ 2023-01-10 12/week @ 2023-01-17 18/week @ 2023-01-24 15/week @ 2023-01-31 12/week @ 2023-02-07 24/week @ 2023-02-14 16/week @ 2023-02-21 13/week @ 2023-02-28 14/week @ 2023-03-07 38/week @ 2023-03-14 11/week @ 2023-03-21

76 downloads per month
Used in 2 crates

AGPL-3.0-only

13MB
255K SLoC

C++ 102K SLoC // 0.1% comments C 93K SLoC // 0.2% comments Visual Studio Project 21K SLoC C# 14K SLoC // 0.3% comments Python 10K SLoC // 0.3% comments Rust 6K SLoC // 0.3% 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 Batch 169 SLoC Prolog 161 SLoC Lua 68 SLoC // 0.0% comments Automake 33 SLoC

This crate is a component of the Sunscreen compiler.


lib.rs:

This crate contains the types and functions for executing a Sunscreen FHE program (i.e. an FheProgram).

Dependencies

~3.5–7MB
~149K SLoC