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.
source share