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