简体   繁体   English

反向公钥/私钥加密?

[英]Reverse Public/Private key Encryption?

Might be an unqualified question, but are there any encryption systems where two encryption keys are generated (one public, one private), and... 可能是一个无条件的问题,但是是否有任何加密系统会生成两个加密密钥(一个是公共的,一个是私有的),并且...

A) The public key is used for encrypting the information, but cannot be used to decrypt it B) The private key is used for decrypting the information, and cannot be used to encrypt it. A)公钥用于加密信息,但不能用于对其进行解密B)私钥用于解密信息,并且不能用于对信息进行加密。

I am asking because I see this as the only practical way to secure a login session to a web service (such as a forum) without the use of SSL/HTTPS. 我之所以这么问,是因为我认为这是在不使用SSL / HTTPS的情况下确保登录到Web服务(例如论坛)的会话的唯一实用方法。 Though, with my limited knowledge of system security and cryptography, it's more than likely that I'm wrong. 但是,由于我对系统安全性和加密技术的了解有限,我很可能错了。

The most common private key encryption algorithm is RSA. 最常见的私钥加密算法是RSA。 However, if you don't know what you're doing, stick to higher level constructs such as SSL/TLS. 但是,如果您不知道自己在做什么,请坚持使用更高级别的结构,例如SSL / TLS。

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

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