//加密,使用密碼產(chǎn)生加密算法的公鑰,并使用TripleDES對密碼進行加密。 public static string EncryptWithKey(string pass, string p_key) { try { byte[] bt = (new System.Text.UnicodeEncoding()).GetBytes(pass); PasswordDeriveBytes pdb = new PasswordDeriveBytes(p_key, null); byte[] key = pdb.GetByte...
www.dbjr.com.cn/article/153...htm 2025-5-12