EncrypterEncryptAES Method (String, Byte, Byte, CiphertextFormat) |
加密-AES方式
Namespace: X3Platform.SecurityAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static string EncryptAES(
string text,
byte[] key,
byte[] iv,
CiphertextFormat format
)
public:
static String^ EncryptAES(
String^ text,
array<unsigned char>^ key,
array<unsigned char>^ iv,
CiphertextFormat format
)
Parameters
- text
- Type: SystemString
文本 - key
- Type: SystemByte
密钥 - iv
- Type: SystemByte
初始化向量 - format
- Type: X3Platform.SecurityCiphertextFormat
[Missing <param name="format"/> documentation for "M:X3Platform.Security.Encrypter.EncryptAES(System.String,System.Byte[],System.Byte[],X3Platform.Security.CiphertextFormat)"]
Return Value
Type:
String加密后的文本
See Also