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

Name

Description

str

Password / passphrase string mixed into two 8‐byte keys.

key1

Destination first DES key block.

key2

Destination second DES key block.

Created with MrDocs