Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.14 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.14 KB

About this repository

For theoretical details, please refer to Extraction Algorithm, most code of extraction example is borrowed from Secretflow spu, structure of PIR example is borrowed from fastPIR.

Complie and Install SEAL

For details, please refer to Microsoft SEAL, the following will show how to compile and install SEAL in Ubuntu.

git clone https://github.com/microsoft/SEAL.git
cd SEAL
cmake -S . -B build
cmake --build build
sudo cmake --install build

If download breaks when running cmake -S . -B build, use the following command instead

cmake -S . -B build  -DSEAL_USE_MSGSL=OFF -DSEAL_USE_ZLIB=OFF -DSEAL_USE_ZSTD=OFF

If all the command runs successfully, SEAL is compiled and installed globally.

Compile and run

After git clone and moving to the downloaded folder, run the following command to compile

cmake -S . -B build
cmake --build build

Running test, please run

./build/manipulateSEAL