Does anyone know this public key?

For the application I want to write, webservice gives me this public key, with which I have to encrypt the login password. But I do not know how this encryption can be. Is it recognizable? Can I say what it is or should I find it my own by sniffing JavaScript (web GUI) that processes this key?

Here he is:

  ----- BEGIN PUBLIC KEY -----
 MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN + SsAsYvIstaZ \ / SYUNv7wvr + a
 Ajkc28XxuKWpCbqFQS + EWeYpbuBB88iJU98yFjsFMh5BLbXhEX + 2JmrC0DWd6o3r
 1ILhNL27KmXo6Dh + 2y0b9l3YXtmwiA1ThZEQun4Z1rUBPMF43DF805keLIsASFpj
 nzc6zWw + jYCX7PTasQIDAQAB
 ----- END PUBLIC KEY -----

The fact that there is a PUBLIC KEY indicates that this is asymmetric encryption. But there are a lot of them. 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 thing I know by name. Is this the most common?

Thank you very much for your help.

+4
source share
1 answer

This is a 1024-bit RSA public key in PEM format with one character garbled on the first line:

 Public-Key: (1024 bit) Modulus: 00:cd:f9:2b:00:b1:8b:c8:b2:d6:99:fd:26:14:36: fe:f0:be:bf:9a:02:39:1c:db:c5:f1:b8:a5:a9:09: ba:85:41:2f:84:59:e6:29:6e:e0:41:f3:c8:89:53: df:32:16:3b:05:32:1e:41:2d:b5:e1:11:7f:b6:26: 6a:c2:d0:35:9d:ea:8d:eb:d4:82:e1:34:bd:bb:2a: 65:e8:e8:38:7e:db:2d:1b:f6:5d:d8:5e:d9:b0:88: 0d:53:85:91:10:ba:7e:19:d6:b5:01:3c:c1:78:dc: 31:7c:d3:99:1e:2c:8b:00:48:5a:63:9f:37:3a:cd: 6c:3e:8d:80:97:ec:f4:da:b1 Exponent: 65537 (0x10001) 
+11
source

Source: https://habr.com/ru/post/1385961/


All Articles