sql MD5加密求助,怎么弄。把密码转成MD5然后插入到SQL表中。

2025-04-05 01:32:43
推荐回答(3个)
回答1:

通过MD5加密算法加密。
1、该加密方法在JAVA与C#都是自带的。
2、该加密方法加密结果不可逆,用户登录时需要加密后再验证密码。

回答2:

select a.fromstepid,
case a.isauto when 1 thgen b.tostepid else a.tostepid end as tostepid
from step a
left join step b on a.tostepid=b.fromstepid
where a.fromstepid not in
(select tostepid from step where isauto=1)
SQL Server2005,测试通过

回答3:

加密密码字符串然后插入,网上有加密源码,我就不发了