1. str = uppercase( 用户名||口令 )
2. str = unicode(str) + 0x00 //unicode : 0x00+ascii
3. iv=0,key = 0x01234567890abcdef; tmp = des_cbc(key,iv,str);
4. key = last_8byte(tmp);iv=0;
5.tmp = des_cbc(key,iv,str);
6.hash = last_8byte(tmp);
阅读(725) | 评论(0) | 转发(0) |