[quote]
SELECT SUBSTRING(MD5(RAND()) FROM 1 FOR 6) AS password
[/quote]
The characters are from the MD5 command (and therefore in the range a-z and 0-9).
SELECT SUBSTRING(MD5(RAND()) FROM 1 FOR 6) AS password
[/quote]
The characters are from the MD5 command (and therefore in the range a-z and 0-9).
本文介绍了一种使用MD5散列函数生成六位随机密码的方法。通过从MD5命令产生的字符串中选取特定范围内的字符(a-z和0-9),确保了密码的安全性和随机性。
1690

被折叠的 条评论
为什么被折叠?



