Home >Database >Mysql Tutorial >mysql与mssql的md5加密语句

mysql与mssql的md5加密语句

WBOY
WBOYOriginal
2016-06-07 17:54:531035browse

mysql与mssql的md5加密语句,需要的朋友可以参考一下

1. mysql的md5

mysql存在系统函数md5(“xxxxx”);

2. mssql的md5

mssql不存在系统函数,RIGHT(sys.fn_VarBinToHexStr(hashbytes('MD5', CAST(“xxxxx”))), 32);

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn