Compute a traditional Unix DES-based password hash using a static result buffer (deprecated).
Declared in <openssl/des.h>
[[deprecated]]
char*
DES_crypt(
char const* buf,
char const* salt);
Deprecated. Use of this entity is allowed but discouraged.
Pointer to a static NUL-terminated hash string, or NULL on error.
| Name | Description |
|---|---|
| buf | Password / passphrase to hash. |
| salt | Two-character salt (or longer string whose first two chars are used). |