简体   繁体   English

PHP Captcha:什么是“私钥”和“公钥”?

[英]PHP Captcha: What is a “private key” and “public key”?

私钥和公钥之间有什么区别,如何使用?

Public-key cryptography You create a key-pair (public and private) the receivers public key is used to encrypt messages. 公共密钥加密您可以创建一个密钥对(公共和私有),接收者的公共密钥用于加密消息。 The private key of the receiver is used to decrypt the this message. 接收者的私钥用于解密此消息。

Normally private and public key are terms that belong to assymetric encryption algorithms. 通常,私钥和公钥是属于非对称加密算法的术语。 I don't see a connection to CAPTCHA or PHP5 in this special case. 在这种特殊情况下,我看不到与CAPTCHA或PHP5的连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM