Compute a traditional Unix DES-based password hash into a caller buffer (deprecated).
Declared in <openssl/des.h>
[[deprecated]]
char*
DES_fcrypt(
char const* buf,
char const* salt,
char* ret);
Deprecated. Use of this entity is allowed but discouraged.
ret on success, or NULL on error.
| Name | Description |
|---|---|
| buf | Password / passphrase to hash. |
| salt | Two-character salt (or longer string whose first two chars are used). |
| ret | Caller-provided buffer of at least 14 bytes receiving the NUL-terminated hash. |