---
name: "EVP_des"
section: "3ssl"
platform: "linux"
package: "libssl-doc"
version: "1.1.1w-0+deb11u1"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/EVP_des"
---

# EVP\_des(3ssl)

EVP DES cipher

## NAME

EVP\_des\_cbc, EVP\_des\_cfb, EVP\_des\_cfb1, EVP\_des\_cfb8, EVP\_des\_cfb64, EVP\_des\_ecb, EVP\_des\_ofb, EVP\_des\_ede, EVP\_des\_ede\_cbc, EVP\_des\_ede\_cfb, EVP\_des\_ede\_cfb64, EVP\_des\_ede\_ecb, EVP\_des\_ede\_ofb, EVP\_des\_ede3, EVP\_des\_ede3\_cbc, EVP\_des\_ede3\_cfb, EVP\_des\_ede3\_cfb1, EVP\_des\_ede3\_cfb8, EVP\_des\_ede3\_cfb64, EVP\_des\_ede3\_ecb, EVP\_des\_ede3\_ofb, EVP\_des\_ede3\_wrap - EVP DES cipher

## SYNOPSIS

```
 #include <openssl/evp.h>
 const EVP_CIPHER *EVP_ciphername(void)
```

*EVP\_ciphername* is used a placeholder for any of the described cipher functions, such as *EVP\_des\_cbc*.

## DESCRIPTION

The DES encryption algorithm for EVP.

- **EVP\_des\_cbc()**, **EVP\_des\_ecb()**, **EVP\_des\_cfb()**, **EVP\_des\_cfb1()**, **EVP\_des\_cfb8()**, **EVP\_des\_cfb64()**, **EVP\_des\_ofb()**

  DES in CBC, ECB, CFB with 64-bit shift, CFB with 1-bit shift, CFB with 8-bit shift and OFB modes.

- **EVP\_des\_ede()**, **EVP\_des\_ede\_cbc()**, **EVP\_des\_ede\_cfb()**, **EVP\_des\_ede\_cfb64()**, **EVP\_des\_ede\_ecb()**, **EVP\_des\_ede\_ofb()**

  Two key triple DES in ECB, CBC, CFB with 64-bit shift and OFB modes.

- **EVP\_des\_ede3()**, **EVP\_des\_ede3\_cbc()**, **EVP\_des\_ede3\_cfb()**, **EVP\_des\_ede3\_cfb1()**, **EVP\_des\_ede3\_cfb8()**, **EVP\_des\_ede3\_cfb64()**, **EVP\_des\_ede3\_ecb()**, **EVP\_des\_ede3\_ofb()**

  Three-key triple DES in ECB, CBC, CFB with 64-bit shift, CFB with 1-bit shift, CFB with 8-bit shift and OFB modes.

- **EVP\_des\_ede3\_wrap()**

  Triple-DES key wrap according to RFC 3217 Section 3.

## RETURN VALUES

These functions return an **EVP\_CIPHER** structure that contains the implementation of the symmetric cipher. See **EVP\_CIPHER\_meth\_new**(3) for details of the **EVP\_CIPHER** structure.

## SEE ALSO

**evp**(7), **EVP\_EncryptInit**(3), **EVP\_CIPHER\_meth\_new**(3)

## COPYRIGHT

Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the OpenSSL license (the "License").  You may not use this file except in compliance with the License.  You can obtain a copy in the file LICENSE in the source distribution or at \<https://www.openssl.org/source/license.html\>.
