[#DES_string_to_key]
= DES&lowbar;string&lowbar;to&lowbar;key
:mrdocs:

Derive a single DES key from a NUL&hyphen;terminated ASCII string (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
void
DES&lowbar;string&lowbar;to&lowbar;key(
    char const* str,
    xref:DES_cblock.adoc[DES&lowbar;cblock]* key);
----

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

[cols="1,4"]
|===
| Name| Description
| *str*
| Password &sol; passphrase string mixed into an 8&hyphen;byte key&period;
| *key*
| Destination DES key block&period;
|===


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