[#DES_crypt] = DES_crypt :mrdocs: Compute a traditional Unix DES‐based password hash using a static result buffer (deprecated). == Synopsis Declared in `<openssl/des.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] char* DES_crypt( char const* buf, char const* salt); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value Pointer to a static NUL‐terminated hash string, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *buf* | Password / passphrase to hash. | *salt* | Two‐character salt (or longer string whose first two chars are used). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#