5个版本 (3个破坏性版本)

0.8.1 2023年9月11日
0.8.0 2023年8月23日
0.7.0 2022年10月17日
0.6.0 2022年7月14日
0.5.0 2022年5月17日

#2038 in 加密学

每月25次下载
4 crate中使用

AGPL-3.0-only

13MB
254K SLoC

C++ 102K SLoC // 0.1% comments · Rust 包仓库 C 92K SLoC // 0.2% comments · Rust 包仓库 Visual Studio Project 21K SLoC · Rust 包仓库 C# 14K SLoC // 0.3% comments · Rust 包仓库 Python 10K SLoC // 0.3% comments · Rust 包仓库 Rust 3.5K SLoC // 0.2% comments · Rust 包仓库 Shell 3K SLoC // 0.2% comments · Rust 包仓库 Ada 1.5K SLoC // 0.2% comments · Rust 包仓库 GNU Style Assembly 1.5K SLoC // 0.3% comments · Rust 包仓库 Assembly 1.5K SLoC // 0.2% comments · Rust 包仓库 Bazel 1K SLoC // 0.1% comments · Rust 包仓库 Pascal 1K SLoC // 0.2% comments · Rust 包仓库 Visual Studio Solution 879 SLoC · Rust 包仓库 Bitbake 527 SLoC · Rust 包仓库 Batch 175 SLoC · Rust 包仓库 Lua 69 SLoC // 0.0% comments · Rust 包仓库 Automake 34 SLoC · Rust 包仓库 PowerShell 23 SLoC · Rust 包仓库 Prolog 20 SLoC · Rust 包仓库 NuGet Config 4 SLoC · Rust 包仓库 ReScript 4 SLoC · Rust 包仓库 Forge Config 2 SLoC // 0.7% comments · Rust 包仓库 Poke 1 SLoC · Rust 包仓库

包含 (JAR文件,55KB) gradle-wrapper.jar、(模糊的自动配置代码,1KB) configure.ac

此包为Microsoft SEAL提供了Rust绑定


lib.rs:

此包为Microsoft的SEAL同态加密库提供了封装

注意事项

此包中的所有类型都实现了Sync/Send。只要你在类型被丢弃后不再解引用其内部句柄,这些特性应该可以安全地保持。内部的句柄对你来说应该几乎没什么用处。

此包有意省略了一些较为复杂的使用场景,以简化API,目前尚不完整(例如,目前不支持CKKS)。如果你关心任何缺失的底层SEAL API,请通过拉取请求添加或在问题中提出。

依赖项