Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何生成带有大小写字母的 md5 字符串?例如:TyUTexUM3Dw
我试过的
$id = $_GET['id']; $key = "SecreTkEy"; $hash = md5($id.$key); echo $hash;
0-9
A-F
b529d8871187ecc7fe5f152142b3440a
B529D8871187ECC7FE5F152142B3440A
你试图用你的代码实现的最终目标是什么?如果您告诉我们,我们可能会为您提供更好的方法来实现这一目标。