openfhe同态库安装

#参考官方资料

https://openfhe-development.readthedocs.io/en/latest/sphinx_rsts/intro/installation/installation.html

一 安装必要插件

检查cmake,make,clang等是否安装完成。没有安装就运行以下命令:

sudo apt-get install g+±

sudo apt-get install build-essential #this already includes g++

sudo apt-get install cmake

安装clang

sudo apt-get install clang

sudo apt-get install libomp5

sudo apt-get install libomp-dev

下载库文件

注意一定要使用git来下载。如果手动下载openfhe,其中的third-party里四个文件夹会是空的,需要自行手动分别补全。

git clone https://github.com/openfheorg/openfhe-development.git

进入build

mkdir build

cd build

cmake ...

安装autoconf

使得openfhe自动安装依赖的外部库gmp等

sudo apt-get install autoconf

编译

make时间比较长(15min左右)

到达100%,执行

sudo make install

检查运行

相关推荐
weiwei228445 小时前
SEAL全同态加密BFV方案入门详解
bfv·全同态·多项式环·seal
BOB-wangbaohai13 小时前
软考-系统架构师-信息安全技术基础知识(二)
网络安全·软考·加密·系统架构设计师·解密
BOB-wangbaohai1 天前
软考-系统架构师-信息安全技术基础知识(一)
安全·软考·系统架构师·加密·解密
利刃大大20 天前
【SpringBoot】validation参数校验 && JWT鉴权实现 && 加密/加盐
java·spring boot·jwt·加密
Irene199123 天前
文档加密加水印只读分享:WPS/PPT编辑后导出PDF(附:百度网盘分享流程)
pdf·加密·wps·pptx·只读
嵌入式-小王1 个月前
证书、加密相关知识点
网络·证书·加密
小明记账簿1 个月前
微信小程序中Crypto.js加密解密
微信小程序·小程序·加密·解密
胡玉洋1 个月前
Spring Boot 项目配置文件密码加密解决方案 —— Jasypt 实战指南
java·spring boot·后端·安全·加密·配置文件·jasypt
嫂子的姐夫1 个月前
004-MD5_易车网
爬虫·python·逆向·加密