作者jlovet.bbs@ptt.cc (Want 2 see u no more) 看板: linux
標題Re: [問題] pgp為什麼只能用公錀加密,不能用私錀加密
時間批踢踢實業 (2008/07/03 Thu 22:13:22)
:
: --
: ※ 發信站: 批踢踢實業坊(ptt.cc)
: ◆ From: 140.123.102.254
: 推 cole945:一邊叫加密,另一邊叫簽章..你是不是弄錯了什麼?? 07/03 20:39
我前面已經說了
public key 有 n,e
private key 有 n,d
p,q刪掉之後他們兩個就不能再互相轉換
為甚麼用private key "處理" data
再用public key "反處理" 就不能叫做加密?
只是因為他是public key,是全世界的人都知道的嗎?
那在實際使用上當然也可以只告訴你想要的人那一個public key阿...
就像symmetric encryption一樣
你還是要告訴別人那個key,但是你不會說
symmetric encryption is not encryption,because the key is known by others.
It is all depends on how you use this, I just have to emphasis, that
mathmatically, private key (n,d) and public key (n,e) are equal.
And you can not derive one from the other, unless you have the original p,q.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.123.102.254