RSAOAEPKeyExchangeFormatter and RSAPKCS1KeyExchangeFormatter

  • Thread starter Thread starter namri
  • Start date Start date
N

namri

Hi,
I want to generate a RSA KEY,
why have we two methode to generate it?
there was based on which algorithm?
and can we recupere the private key.
thanks for any help
Ilham
 
These classes are intended for secure key exchange between two or more
particpants. The exchanged key can be whatever byte stream you want. RSA is
used to secure the exchange.
If your goal is to generate a new RSA key, you should instantiate the
RSACryptoServiceProvider class. If you want to retrieve the public key, or
the public and private key, you must later use the
RSACryptoServiceProvider.ExportParameters() method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top