System.Security.Cryptography.RSACng
Provides a Cryptography Next Generation (CNG) implementation of the RSA algorithm.
Gets the key that will be used by the RSACng object for any cryptographic operation that it performs.
public RSACng()
Initializes a new instance of the RSACng class with a random 2,048-bit key pair.
Initializes a new instance of the RSACng class with a randomly generated key of the specified size.
Initializes a new instance of the RSACng class with the specified key.