3.6 KiB
3.6 KiB
PALISADE Lattice Cryptography Library - Examples
Document Description
This document describes the examples included with the PALISADE lattice crypto library.
Examples Directory Description
Directory Objective
This directory contains examples that, when linked with the library, demonstrate the capabilities of the system
File Listing
Example programs
- advanced-real-numbers.cpp: shows several advanced examples of approximate homomorphic encryption using CKKS
- advanced-real-numbers-128.cpp: shows several advanced examples of approximate homomorphic encryption using high-precision CKKS
- depth-bfvrns.cpp: demonstrates use of the BFVrns scheme for basic homomorphic encryption
- depth-bfvrns-b.cpp: demonstrates use of the BFVrnsB scheme for basic homomorphic encryption
- depth-bgvrns.cpp: demonstrates use of the BGVrns scheme for basic homomorphic encryption
- evalatindex.cpp: demonstrates use of EvalAtIndex (rotation operation) for different schemes and cyclotomic rings
- pke.cpp: demonstrates use of encryption across several schemes
- polynomial_evaluation.cpp: demonstrates an evaluation of a polynomial (power series) using CKKS
- pre.cpp: demonstrates use of proxy re-encryption across several schemes
- pre-buffer.cpp: demonstrates use of PALISADE for encryption, re-encryption and decryption of packed vector of binary data
- pre-text.cpp: demonstrates use of PALISADE for encryption, re-encryption and decryption of text
- simple-integers.cpp: simple example showing homomorphic additions, multiplications, and rotations for vectors of integers using BFVrns
- simple-integers-bgvrns.cpp: simple example showing homomorphic additions, multiplications, and rotations for vectors of integers using BGVrns
- simple-integers-serial.cpp: simple example showing typical serialization/deserialization calls for a prototype computing homomorphic additions, multiplications, and rotations for vectors of integers using BFVrns
- simple-integers-serial-bgvrns.cpp: simple example showing typical serialization/deserialization calls for a prototype computing homomorphic additions, multiplications, and rotations for vectors of integers using BGVrns
- simple-real-numbers.cpp: simple example showing homomorphic additions, multiplications, and rotations for vectors of real numbers using CKKS
- simple-real-numbers-serial.cpp: simple example showing typical serialization/deserialization calls for a prototype computing homomorphic additions, multiplications, and rotations for vectors of integers using CKKS
- threshold-fhe.cpp: shows several examples of threshold FHE in BGVrns, BFVrns, and CKKS
Example client/server systems exists in a separate repository - palisade-serial-examples