#fhe #bfv #lattice

seal_fhe

This crate contains Rust bindings for Microsoft's SEAL Fully Homomorphic Encryption (FHE) library

5 releases (3 breaking)

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

#780 in Cryptography

Download history 39/week @ 2023-10-23 72/week @ 2023-10-30 34/week @ 2023-11-06 27/week @ 2023-11-13 64/week @ 2023-11-20 34/week @ 2023-11-27 28/week @ 2023-12-04 33/week @ 2023-12-11 24/week @ 2023-12-18 33/week @ 2023-12-25 20/week @ 2024-01-01 29/week @ 2024-01-08 23/week @ 2024-01-15 19/week @ 2024-01-22 22/week @ 2024-01-29 29/week @ 2024-02-05

99 downloads per month
Used in 4 crates

AGPL-3.0-only

13MB
253K 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 3.5K 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 879 SLoC Bitbake 527 SLoC Batch 175 SLoC Prolog 162 SLoC Lua 69 SLoC // 0.0% comments Automake 34 SLoC PowerShell 23 SLoC ReScript 4 SLoC Forge Config 2 SLoC // 0.7% comments Poke 1 SLoC

Contains (JAR file, 55KB) gradle-wrapper.jar

This crate provides Rust bindings for Microsoft SEAL.


lib.rs:

This crate provides wrappers for Micorosft's SEAL Homomorphic encryption library.

Notes

All types in this crate implement Sync/Send. So long as you never dereference the internal handle on any type after it has been dropped, these traits should safely hold. The internal handles should be of little use to you anyways.

This crate intentionally omits more esoteric use cases to streamline the API and is currently incomplete (e.g. CKKS is not currently supported). If any underlying SEAL API you care about is missing, please add it in a pull request or file an issue.

Dependencies