Java版Mysql4.1之前的old_password加密算法
程序员文章站
2022-06-08 12:15:37
...
Java版Mysql4.1之前的old_password加密算法。 package mytest;public class MySQLOldPassword {public String getMySQLPassword(String password) {long nr = 1345345333L, add = 7, nr2 = 0x12345671L;long tmp = 0;for (int i = 0; i password.length(); i+
Java版Mysql4.1之前的old_password加密算法。package mytest; public class MySQLOldPassword { public String getMySQLPassword(String password) { long nr = 1345345333L, add = 7, nr2 = 0x12345671L; long tmp = 0; for (int i = 0; i