[#DES_is_weak_key] = DES_is_weak_key :mrdocs: Test whether a DES key is one of the known weak or semi‐weak keys (deprecated). == Synopsis Declared in `<openssl/des.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DES_is_weak_key(xref:const_DES_cblock.adoc[const_DES_cblock]* key); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 if `key` is weak or semi‐weak, or 0 otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *key* | Eight‐byte DES key to check. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#