📄 crypt_md5.h
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -