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