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

检查运行

相关推荐
Irene19913 天前
文档加密加水印只读分享:WPS/PPT编辑后导出PDF(附:百度网盘分享流程)
pdf·加密·wps·pptx·只读
嵌入式-小王6 天前
证书、加密相关知识点
网络·证书·加密
小明记账簿13 天前
微信小程序中Crypto.js加密解密
微信小程序·小程序·加密·解密
胡玉洋15 天前
Spring Boot 项目配置文件密码加密解决方案 —— Jasypt 实战指南
java·spring boot·后端·安全·加密·配置文件·jasypt
嫂子的姐夫19 天前
004-MD5_易车网
爬虫·python·逆向·加密
躺柒23 天前
读捍卫隐私01双因素认证
信息安全·加密·隐私·隐私保护
黑客思维者1 个月前
SM1/SM2/SM3/SM4核心场景与实战案例深度解析
人工智能·加密·sm1/sm2/sm3/sm4
猿与禅3 个月前
系统安全-主流密码加密算法BCrypt 和PBKDF2详解
系统安全·加密·密码
胡耀超3 个月前
数据安全工具手册——便捷实用的安全工具集-20251014
python·安全·数据安全·加密·数据库安全·脱敏·开源工具