📜  什么是公钥 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:49.757000             🧑  作者: Mango

代码示例1
A public key is like an open box with an unbreakable lock. 
If someone wants to send you a message, they can place that message 
in your public box, and close the lid to lock it. The message can 
now be sent, to be delivered by an untrusted party without needing 
to worry about the contents being exposed. Once I receive the box, 
I'll unlock it with my private key - the only existing key which can 
open that box.