点击或拖拽改变大小

AesCryptography 方法

AesCryptography 类型公开以下成员。

方法
  名称说明
公共方法Decrypt(Byte)
对原始的数据进行解密的操作,返回解密之后的二进制原始数据
Decrypt the original data and return the decrypted binary original data
公共方法Decrypt(String)
针对Base64字符串进行解密操作,转为二进制数据后进行解密,解密之后使用UTF8编码获取最终的字符串数据
Decrypt the Base64 string, convert it to binary data, and decrypt it. After decryption, use UTF8 encoding to obtain the final string data.
公共方法Encrypt(Byte)
对原始的数据进行加密的操作,返回加密之后的二进制原始数据
Encrypt the original data and return the encrypted binary original data
公共方法Encrypt(String)
针对字符串进行加密,并返回加密后的字符串数据,字符串的编码默认为UTF8,加密后返回Base64编码
Encrypt the string and return the encrypted string data. The encoding of the string is UTF8 by default. After encryption, the Base64 encoding is returned.
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法ToString (继承自 Object。)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见