Skip to main content

DES_FOR_LEGACY_USE_ONLY

Constant DES_FOR_LEGACY_USE_ONLY 

Source
pub const DES_FOR_LEGACY_USE_ONLY: Algorithm;
👎Deprecated since 1.17.0:

Single DES is a legacy algorithm retained for interoperability only. Prefer an AES-based algorithm.

Available on crate feature legacy-des only.
Expand description

Single DES cipher, for legacy interoperability only.

Single DES provides only 56 bits of effective security and has been considered insecure for decades. It is retained here solely for interoperability with legacy systems. New designs must use an AES-based algorithm.

Only CBC and ECB operating modes are supported. Weak and semi-weak DES keys are rejected.