Home >Database >Mysql Tutorial >mysql-C++ 调用MySQL 密码函数

mysql-C++ 调用MySQL 密码函数

WBOY
WBOYOriginal
2016-06-06 09:43:41984browse

mysqlc++加密密码

各位前辈,我现在想实现这样一个功能:在MySQL数据库的表里存储有加密过的密码,在我的程序里用户输入了密码(明文),我想在程序中调用MySQL的PASSWORD函数对用户输入加密,将形成的密文与数据库存储的值对比,从而判定密码是否正确。这一过程如何实现呢?往前辈们不吝赐教,谢谢啦~

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