Generate a random DES key with odd parity that is not a weak key (deprecated).

Synopsis

Declared in <openssl/des.h>

[[deprecated]]
int
DES_random_key(DES_cblock* ret);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ret

Destination 8‐byte DES key block.

Created with MrDocs