rsa

所属分类:单片机开发
开发工具:C++ Builder
文件大小:1KB
下载次数:3
上传日期:2013-05-24 16:44:44
上 传 者qoopp
说明:  假設資料要由 A 機器傳至B 機器,那由B 機器用亂數決定一個 key,我們稱之為privatekey, 這個 key 自始至終都只留在 B 機器裏不送出來然後,由這個 privatekey 計算出另一個 key,我們 稱之為 publickey.這個 publickey 的特性是幾乎不可能反演算出 privatekey 來然後將這個 publickey 透過網路丟給 A 機器.A 機器將資料用這個 publickey 編碼,這個編碼過的資料一定 得使用 privatekey 才解得開然後 A 機器將編碼過的資料透過網路傳給 B,B 再用 privatekey 將 資料解碼這時,如果有第三者竊聽資料時,他只得到 B 傳給 A 的 publickey,以及 A 用這個 publickey 編碼後的資料沒有 privatekey,第三者根本無法解碼所以這個方法確實能防止第三 者的竊聽
(Assumes that the data to be transmitted by the machine A machine B, then from B to decide on a machine with a random key, we call privatekey, throughout this key only to stay in B do not send out the machine and then by another key calculate this privatekey We call publickey. publickey feature of this inversion is almost impossible to calculate privatekey then threw the publickey A machine via a network. A machine will use this information publickey coding, the encoded data got to use privatekey A then only solution was to open the machine will encoded data transmitted over the network B, B then privatekey will decode the data point, if a third party eavesdropping information, he can only get passed to A, B publickey, and A with This publickey encoded data is not privatekey, a third party can not decode so this method can indeed prevent a third party eavesdropping)

文件列表:
rsa.c (1409, 2013-05-03)

近期下载者

相关文件


收藏者