Is it possible to use pure Encoding and Decoding keys in asymmetric cryptography instead of private

Posted by macropas on Stack Overflow See other posts from Stack Overflow or by macropas
Published on 2010-06-17T11:29:06Z Indexed on 2010/06/17 11:33 UTC
Read the original article Hit count: 306

Filed under:
|
|
|

Is it possible to use pure Encoding and Decoding keys instead of private and public keys? As I know in .Net asymmetric RSA implementation private key RSAParameters parameters = (new RSACryptoServiceProvider()).ExportParameters(true) is a superset of public key. And using private key we can both encode and decode our data. But I need key only for decoding data. How to do it?

I experimented on nulling RSAParameters fields, but RSACryptoServiceProvider object can't import such parameters.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET