Метод | Описание | |
---|---|---|
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 | |
Результат |
public static Decrypt ( string privateKeyXml, string encryptedData, RsaKeyLengths rsaKeyLength = RsaKeyLengths.Bit2048 ) : string | ||
privateKeyXml | string | |
encryptedData | string | |
rsaKeyLength | RsaKeyLengths | |
Результат | string |
public static Encrypt ( string publicKeyXml, string data, RsaKeyLengths rsaKeyLength = RsaKeyLengths.Bit2048 ) : string | ||
publicKeyXml | string | |
data | string | |
rsaKeyLength | RsaKeyLengths | |
Результат | string |