crypt (const char *key, const char *salt)
我在代码中看到它,但我找不到这个函数的实现。是不是C的一些约定?
最佳答案
由POSIX
指定但不是任何版本的 C 标准。不过要小心:
The crypt() function is a string encoding function. The algorithm is implementation-defined.
关于c - C 语言中有 crypt 函数吗?或者我必须自己构建该功能?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14909340/