qmetrics.net

Microsoft SEAL

C++ homomorphic encryption library for private cloud computation

Microsoft SEAL is an open-source homomorphic encryption library in modern C++. It lets programs add and multiply encrypted integers or approximate encrypted real numbers.

Overview

Microsoft SEAL implements homomorphic encryption so a host can compute on ciphertext without decrypting first. Results stay encrypted until the data owner decrypts with the secret key. The library targets privacy-sensitive cloud steps where unencrypted computation is not acceptable and workloads are relatively light.

Two scheme families are included. BFV and BGV support modular arithmetic on encrypted integers when exact values matter. CKKS supports approximate addition and multiplication on encrypted reals or complex numbers, suited to sums, machine learning on encrypted data, or distance calculations.

The API is C++ with optional .NET bindings via NuGet builds you can produce yourself. Installation paths include vcpkg, Homebrew on macOS, FreeBSD packages, and manual CMake builds for Windows, Linux, macOS, Android, iOS, and WebAssembly. Optional Intel HEXL, Microsoft GSL, ZLIB, and Zstandard tune performance or serialization compression.

Homomorphic encryption increases data size and cost; branching on encrypted data is not practical. Production use requires reading the project security guidance because guarantees differ from conventional encryption.

Key features

  • BFV and BGV encrypted integer arithmetic
  • CKKS approximate encrypted real math
  • C++ and .NET language support
  • CMake builds for multiple platforms
  • Optional ciphertext serialization compression
  • Package installs via vcpkg or Homebrew
  • NuGet packages for .NET consumers
  • EVA-related CKKS programming examples

Use cases

  • Private outsourced arithmetic on ciphertext
  • Encrypted real-number summation workloads
  • Experimenting with homomorphic ML inference
  • Research prototypes needing FHE primitives

Tags

Similar software

OpenSSL Library

General-purpose TLS, QUIC, and cryptography toolkit

Toolkit implementing TLS, DTLS, and QUIC plus a standalone cryptographic library. Includes a command-line tool for certificates, digests, encryption, and protocol tests.

★ 31.6k⟳ yesterdayApache-2.0
Application SecurityDesktop/CLI app

CryptoSwift

Pure Swift cryptographic primitives and utilities library

CryptoSwift implements standard cryptographic algorithms in Swift for hashing, ciphers, message authentication, and key derivation. It integrates via Swift Package Manager and targets Apple platforms, Linux, and Android.

★ 10.6k⟳ 3 months agoZlib
Application SecurityDesktop/CLI app

Device Activity Tracker

Research PoC for messenger delivery-receipt activity leaks

Device Activity Tracker measures message delivery round-trip times on WhatsApp and Signal to infer active, standby, or offline device states for security research.

★ 5.3k⟳ 11 months agoMIT · open core

jsrsasign

Pure JavaScript cryptography and PKI toolkit

jsrsasign implements signing, validation, certificates, CMS, timestamps, and JWS/JWT/JWK handling in JavaScript with no external crypto dependencies.

★ 3.4k⟳ 29 days agoMIT
Application SecurityDesktop/CLI app

liboqs

C library for quantum-safe KEM and signature algorithms

liboqs implements post-quantum key encapsulation and signature schemes behind one C API. It includes tests and benchmarks for research and prototyping, not production reliance.

★ 3.1k⟳ 3 days agoMIT · open core
Application SecurityDesktop/CLI app

Swift Crypto

Open-source CryptoKit-style cryptography for Swift across platforms

Swift Crypto implements much of the Apple CryptoKit API for Linux and other non-Apple platforms, with a CryptoExtras module for extra server-oriented APIs.

★ 1.7k⟳ 4 days agoApache-2.0
Application SecurityDesktop/CLI app