crypt_md5.h
来自「代理服务器 squid-2.6.STABLE16」· C头文件 代码 · 共 19 行
H
19 行
/* * Creates a MD5 based hash of a password * * To validate a entered password, use the previously calculated * password hash as salt, and then compare the result. If identical * then the password matches. * * While encoding a password the salt should be 8 randomly selected * characters from the base64 alphabet, for example generated as follows: * char salt[9]; * to64(salt, rand(), 4); * to64(salt+4, rand(), 4); * salt[0] = '\0'; */char *crypt_md5(const char *pw, const char *salt);/* MD5 hash without salt */char *md5sum(const char *s);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?