blog demo 的MYSQL SALT随机数是多少?

DEMO 用户的密码 是用 MD5+SALT加密过的 请问如何解密啊 SALT这个随机数是多少呢

±—±---------±---------------------------------±---------------------------------±----------------------±--------+

| id | username | password | salt | email | profile |

±—±---------±---------------------------------±---------------------------------±----------------------±--------+

| 1 | demo | 2e5c7db760a33498023813489cfadc0b | 28b206548469ce62182048fd9cf91760 | webmaster@example.com | NULL |

±—±---------±---------------------------------±---------------------------------±----------------------±--------+

为什么我在MYSQL中 这么运行

select MD5("demo".28b206548469ce62182048fd9cf91760);

提示以下错误 ,谁能告诉我咋整呀

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘.28b206548469ce62182048fd9cf91760)’ at line 1

你的sql写法怎么这样的,.28b206548469ce62182048fd9cf91760是字符串,没有用引号包住?

不知道我理解的有没有错,md5($pass.$salt) 这种单向加密根本无法解密,你要做的是把用户的输入$pass和数据库中预存的$salt组合进行一次md5操作看和数据库中的组合加密后是否一致来做比较吧?