没有合适的资源?快使用搜索试试~ 我知道了~
DFT的matlab源代码-nufhe:用Python实现的NuCypher完全同态加密(NuFHE)库
共77个文件
py:55个
mako:9个
rst:4个
需积分: 21 3 下载量 149 浏览量
2021-05-26
03:06:30
上传
评论
收藏 138KB ZIP 举报
温馨提示
DFT的matlab源代码圆环上完全同态加密的GPU实现 该库通过使用CUDA和OpenCL实现了完全同态加密算法。 与TFHE不同,在TFHE中内部使用FFT来加快多项式乘法的速度, nufhe可以使用FFT或纯整数NTT(有限域上类似DFT的变换)。 后者基于的算术运算和NTT方案。 有关更多详细信息,请参阅。 用法示例 import random import nufhe size = 32 bits1 = [ random . choice ([ False , True ]) for i in range ( size )] bits2 = [ random . choice ([ False , True ]) for i in range ( size )] reference = [ not ( b1 and b2 ) for b1 , b2 in zip ( bits1 , bits2 )] ctx = nufhe . Context () secret_key , cloud_key = ctx . make_key_pair () ciphertext1 = ct
资源推荐
资源详情
资源评论
收起资源包目录
nufhe-master.zip (77个子文件)
nufhe-master
nufhe
bootstrap.py 8KB
tgsw_gpu.mako 1KB
lwe_gpu.py 12KB
api_low_level.py 10KB
polynomials_gpu.py 3KB
polynomial_transform_fft.py 3KB
gates.py 24KB
tlwe_cpu.py 3KB
polynomial_transform.py 1KB
transform
computation.py 4KB
arithmetic.py 8KB
ntt.py 5KB
__init__.py 949B
computation.mako 4KB
ntt_cpu.py 5KB
fft.py 4KB
fft.mako 9KB
arithmetic.mako 31KB
ntt.mako 13KB
tlwe.py 7KB
utils.py 549B
tgsw_gpu.py 8KB
blind_rotate.py 11KB
numeric_functions_gpu.py 2KB
lwe_cpu.py 4KB
__init__.py 1KB
lwe.py 14KB
blind_rotate.mako 8KB
polynomial_transform_ntt.py 4KB
operators_integer.py 3KB
performance.py 10KB
tgsw_cpu.py 5KB
lwe_gpu.mako 6KB
tlwe_gpu.py 9KB
random_numbers.py 5KB
tgsw.py 6KB
tlwe_gpu.mako 2KB
polynomials_gpu.mako 2KB
numeric_functions.py 1KB
api_high_level.py 14KB
computation_cache.py 2KB
polynomials_cpu.py 2KB
numeric_functions_cpu.py 1KB
polynomials.py 4KB
MANIFEST.in 201B
.bumpversion.cfg 411B
.circleci
config.yml 3KB
doc
source
conf.py 5KB
history.rst 3KB
index.rst 7KB
api.rst 2KB
implementation_details.rst 9KB
make.bat 813B
requirements.txt 108B
Makefile 606B
examples
multi_gpu.py 3KB
serialization.py 2KB
gate_nand.py 552B
gate_nand_low_level.py 750B
test
test_transform
test_computation.py 9KB
test_arithmetic.py 10KB
test_ntt_cpu.py 2KB
__init__.py 699B
test_tgsw.py 6KB
test_gates.py 18KB
utils.py 2KB
test_api_low_level.py 2KB
test_tlwe.py 4KB
test_numeric_functions.py 1KB
conftest.py 4KB
test_lwe.py 17KB
test_polynomials.py 2KB
test_api_high_level.py 5KB
LICENSE.md 34KB
setup.py 1KB
README.md 2KB
.gitignore 76B
共 77 条
- 1
资源评论
weixin_38674627
- 粉丝: 2
- 资源: 925
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功