Exemple #1
0
// 进行三次加盐(uin的16b LE hex值)MD5之类...什么的算法 [2013.8.27]
func (this *WebQQ) genPwd(code string) string {
	return util.Md5StringX(this.encrypt_password + strings.ToUpper(code))
}
Exemple #2
0
// 生成加密后的密码
func GenEncryptPassword(uin uint64, passwd_md5 string) (epwd string) {
	return util.Md5StringX(passwd_md5 + util.Uint64BEString(uin))
}