[#DES_random_key]
= DES&lowbar;random&lowbar;key
:mrdocs:

Generate a random DES key with odd parity that is not a weak key (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;des&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
DES&lowbar;random&lowbar;key(xref:DES_cblock.adoc[DES&lowbar;cblock]* ret);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ret*
| Destination 8&hyphen;byte DES key block&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
