摘要: 1、ldap的md5加密不仅仅是md5加密。比如“123456”,通过ldap的md5加密是 “4QrcOUm6Wau+VuBX8g+IPg==” .原来ldap的md5加密是先经过md5加密,再进行了base64的编码处理。整个过程通过c#解释,就是如下代码啦 1 public static string LdapMD5AES(string clearPwd) 2 { 3 string md5Pwd = string.Empty; 4 byte[] result = Encoding.Default.GetBytes(clearP... 阅读全文
posted @ 2014-04-02 14:45 rachelanlan 阅读(1036) 评论(0) 推荐(0) 编辑