我在数据决策系统中勾选MD5加密,在后台代码中能 这样 string sql = "select count(*) from SYS_USER where USERNAME='" + name + "' and USERPWD=substring (sys.fn_sqlvarbasetostr(hashbytes('MD5','" + pwd + "') ),3,32)";写吗?我数据库中密码一项已经加密。例如我的账号是admin密码是21232f297a57a5a743894a0e4a801fc3(admin加密后的形式) |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|