메소드 | 설명 | |
---|---|---|
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 |