CryptoAESEncryptTextWithKey Method |
Namespace:
MFiles.Crypto
Assembly:
MFiles.Crypto (in MFiles.Crypto.dll) Version: 21.8.10524.1
Syntaxpublic static byte[] EncryptTextWithKey(
string text,
int keySize,
RSACryptoServiceProvider rsa
)
Public Shared Function EncryptTextWithKey (
text As String,
keySize As Integer,
rsa As RSACryptoServiceProvider
) As Byte()
public:
static array<unsigned char>^ EncryptTextWithKey(
String^ text,
int keySize,
RSACryptoServiceProvider^ rsa
)
Parameters
- text
- Type: SystemString
- keySize
- Type: SystemInt32
- rsa
- Type: System.Security.CryptographyRSACryptoServiceProvider
Return Value
Type:
Byte
See Also