Encrypt or decrypt one 8-byte DES block in ECB mode (deprecated; prefer EVP).
Declared in <openssl/des.h>
[[deprecated]]
void
DES_ecb_encrypt(
const_DES_cblock* input,
DES_cblock* output,
DES_key_schedule* ks,
int enc);
Deprecated. Use of this entity is allowed but discouraged.
| Name | Description |
|---|---|
| input | 8-byte input block. |
| output | 8-byte output block (may equal input). |
| ks | Expanded DES key schedule. |
| enc | DES_ENCRYPT to encrypt, or DES_DECRYPT to decrypt. |