* 使用DES加密與解密,可對(duì)byte[],String類型進(jìn)行加密與解密 密文可使用String,byte[]存儲(chǔ).
*
* 方法: void getKey(String strKey)從strKey的字條生成一個(gè)Key
*
* String getEncString(String strMing)對(duì)strMing進(jìn)行加密,返回String密文 String
* getDesString(String strMi)對(duì)strMin進(jìn)行解密,返回String明文
*
*byte[] getEncCode(byte[] byteS)byte[]型的加密 byte[] getDesCode(byte[]
* byteD)byte[]型的解密
標(biāo)簽:
String
byte
getKey
strKey
上傳時(shí)間:
2014-01-13
上傳用戶:libinxny