有人认识这种公钥吗?
对于我想编写的应用程序,网络服务为我提供了这个公钥,我必须用它来加密登录密码。但我不知道这可能是什么类型的加密。这是可以认出来的吗?是否有可能知道这是什么,还是我必须通过嗅探处理此密钥的 JavaScript(Web GUI)来找到它?
就是这样:
-----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN+SsAsYvIstaZ\/SYUNv7wvr+a Ajkc28XxuKWpCbqFQS+EWeYpbuBB88iJU98yFjsFMh5BLbXhEX+2JmrC0DWd6o3r 1ILhNL27KmXo6Dh+2y0b9l3YXtmwiA1ThZEQun4Z1rUBPMF43DF805keLIsASFpj nzc6zWw+jYCX7PTasQIDAQAB -----END PUBLIC KEY-----
有PUBLIC KEY
这一事实表明这是非对称加密。但有很多。以下是来自维基百科的非对称加密方法列表:
贝纳洛·布鲁姆-戈德瓦瑟·凯利-珀瑟·CEILIDH·克莱默-舒普· Damgård–Jurik · DH · DSA · EPOC · ECDH · ECDSA · EKE · ElGamal (加密·签名方案)·GMR·Goldwasser–Micali·HFE·IES · 兰波特 · 麦克埃利斯 · 默克尔-赫尔曼 · MQV · 纳卡卡什-斯特恩 · NTRUEncrypt · NTRUSign · Paillier · Rabin · RSA · 冈本-内山 · Schnorr · Schmidt–Samoa · SPEKE · SRP · STS · 三通协议 · XTR
RSA 是我唯一知道它名字的一个。这是最常见的一种吗?
非常感谢您的帮助。
For an application I want to write, the webservice gives me this public key, with which I have to encrypt the password for signing in. But I don't know what kind of encryption this might be. Is this recognisable? Is it possible to tell what this is or do I have to find it out my own by sniffing into the JavaScript (of the web GUI) which handles this key?
Here it is:
-----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN+SsAsYvIstaZ\/SYUNv7wvr+a Ajkc28XxuKWpCbqFQS+EWeYpbuBB88iJU98yFjsFMh5BLbXhEX+2JmrC0DWd6o3r 1ILhNL27KmXo6Dh+2y0b9l3YXtmwiA1ThZEQun4Z1rUBPMF43DF805keLIsASFpj nzc6zWw+jYCX7PTasQIDAQAB -----END PUBLIC KEY-----
The fact that there is PUBLIC KEY
, indicates this is asymmetric encryption. But there are lots of it. Here is a list, taken from Wikipedia of asymmetric encryption methods:
Benaloh · Blum–Goldwasser · Cayley–Purser · CEILIDH · Cramer–Shoup ·
Damgård–Jurik · DH · DSA · EPOC · ECDH · ECDSA · EKE · ElGamal
(encryption · signature scheme) · GMR · Goldwasser–Micali · HFE · IES
· Lamport · McEliece · Merkle–Hellman · MQV · Naccache–Stern ·
NTRUEncrypt · NTRUSign · Paillier · Rabin · RSA · Okamoto–Uchiyama ·
Schnorr · Schmidt–Samoa · SPEKE · SRP · STS · Three-pass protocol ·
XTR
RSA is the only one I know by it's name. Is that the most common one?
Thanks you very much for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它是 PEM 格式的 1024 位 RSA 公钥,第一行有一个字符被损坏:
It's a 1024-bit RSA public key in PEM format with one character mangled in the first line: