What is public key and private key?

更新时间:2022-03-08  浏览次数:38314次

Public key and private key are a key pair obtained through an encryption algorithm (a public key and a private key, that is, asymmetric encryption). The public key can encrypt the session and verify the digital signature, and only the corresponding private key can decrypt the session data, thus ensuring the security of data transmission. The public key is the public part of the key, and the private key is the non-public part that is kept by the user. The key pair obtained by the encryption algorithm can be guaranteed to be unique in the world. When using a key pair, if you encrypt a piece of data with one of the keys, you can only decrypt the data using the other key in the key pair. For example, data encrypted with a public key must be decrypted with the corresponding private key; if encrypted with a private key, it must also be decrypted with the corresponding public key, otherwise the decryption will fail.

上一篇: 没有了

© 2024 51NET.ORG 版权所有,保留所有权利 注册人权利与责任注册人教育信息隐私政策