DES_string_to_2keys

Derive two DES keys from a NUL-terminated ASCII string (deprecated).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
void
DES_string_to_2keys(
    char const* str,
    DES_cblock* key1,
    DES_cblock* key2);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
strPassword / passphrase string mixed into two 8-byte keys.
key1Destination first DES key block.
key2Destination second DES key block.