ntru专题

NTRU的Python简单实现

使用python实现了NTRU加密方案的基本操作,为读者理解NTRU提供一个例子。 """This is done by zyf"""#public parametersN=503p=3q=256df=216dg=72dr=55import numpy as npimport mathfrom sympy import GF,invert,Poly,symbols,ispri

NTTRU:兼容 NTT 算法的 NTRU-based KEM 方案

参考文献: [CT65] Cooley J W, Tukey J W. An algorithm for the machine calculation of complex Fourier series[J]. Mathematics of computation, 1965, 19(90): 297-301.[Mont85] Montgomery P L. Modular multiplic