Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-06 09:43:41
Original
920 people have browsed it

mysqlc++加密密码

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!