private static CreateRsa ( RsaKeyLengths rsaKeyLength ) : |
||
rsaKeyLength | RsaKeyLengths | |
return |
private static RSA CreateRsa(RsaKeyLengths rsaKeyLength)
{
var rsa = RSA.Create();
rsa.KeySize = (int)rsaKeyLength;
return rsa;
}