代码拉取完成,页面将自动刷新
deepin-pw-check is a tool to verify the validity of the password.
You can also check the "Depends" provided in the debian/control file.
You can also check the "Build-Depends" provided in the debian/control file.
Make sure you have installed all dependencies.
Build:
$ cd deepin-pw-check
$ make
$ sudo make install
The executable binary file could be found at /usr/lib/deepin-pw-check
after the installation is finished.
#include <deepin_pw_check.h>
#include <stdio.h>
int main() {
PW_ERROR_TYPE ret = deepin_pw_check("test", "123", LEVEL_STANDARD_CHECK, NULL);
if (ret != PW_NO_ERR) {
printf("deepin_pw_check err: %s\n", err_to_string(ret));
}
return 0;
}
You may find these channels useful if you encounter any other issues:
We encourage you to report issues and contribute changes
deepin-pw-check is licensed under GPL-3.0-or-later.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。