首页 > 技术文章 > php实现MD5加密16位(不要默认的32位)
qingsong 2016-10-05 13:44 原文
使用substr函数截取:
substr(md5("admin"),8,16); // 16位MD5加密 md5("admin"); // 32位MD5加密