 | EncryptionEncryptDES 方法 (String, String) |
Sweet 开发框架
DES加密
命名空间:
Sweet.Common
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static string EncryptDES(
string encryptString,
string encryptKey
)
Public Shared Function EncryptDES (
encryptString As String,
encryptKey As String
) As String
static member EncryptDES :
encryptString : string *
encryptKey : string -> string
参数
- encryptString
- 类型:SystemString
待加密的字符串 - encryptKey
- 类型:SystemString
加密密钥,要求为8位
返回值
类型:
String加密成功返回加密后的字符串,失败返回源串
参见