Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,基于切比雪夫多项式的加密算法。消息的域必须在 [-1,1] 而 ASCII 表是 0 - 255 它是如何加密的?
切比雪夫多项式:http ://www.cecm.sfu.ca/CAG/papers/Cheb.pdf
0-255将您的输入从范围规范化为[-1,1]:N(x) = x/128 - 1并N(x)用作加密算法的输入,而不是x. 对于其他范围,只需使用不同的归一化函数。
0-255
[-1,1]
N(x) = x/128 - 1
N(x)
x