Method | Description | |
---|---|---|
CreatePublicAndPrivateKeyPair ( RsaKeyLengths rsaKeyLength = RsaKeyLengths.Bit2048 ) : |
||
Decrypt ( string privateKeyXml, string encryptedData, RsaKeyLengths rsaKeyLength = RsaKeyLengths.Bit2048 ) : string | ||
Encrypt ( string publicKeyXml, string data, RsaKeyLengths rsaKeyLength = RsaKeyLengths.Bit2048 ) : string |
public static CreatePublicAndPrivateKeyPair ( RsaKeyLengths rsaKeyLength = RsaKeyLengths.Bit2048 ) : |
||
rsaKeyLength | RsaKeyLengths | |
return |
public static Decrypt ( string privateKeyXml, string encryptedData, RsaKeyLengths rsaKeyLength = RsaKeyLengths.Bit2048 ) : string | ||
privateKeyXml | string | |
encryptedData | string | |
rsaKeyLength | RsaKeyLengths | |
return | string |
public static Encrypt ( string publicKeyXml, string data, RsaKeyLengths rsaKeyLength = RsaKeyLengths.Bit2048 ) : string | ||
publicKeyXml | string | |
data | string | |
rsaKeyLength | RsaKeyLengths | |
return | string |