DES_string_to_key

Derive a single DES key from a NUL-terminated ASCII string (deprecated).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
void
DES_string_to_key(
    char const* str,
    DES_cblock* key);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
strPassword / passphrase string mixed into an 8-byte key.
keyDestination DES key block.