EVP_CIPHER-AES - The AES EVP_CIPHER implementations
| Use Case | Command | Description |
|---|---|---|
| Encrypt a file with AES‑256‑CBC | openssl enc -aes-256-cbc -in plain.txt -out encrypted.bin | Standard CBC encryption; prompts for a passphrase. |
| Decrypt that file | openssl enc -d -aes-256-cbc -in encrypted.bin -out plain.txt | Decrypts using the same passphrase. |
| Authenticated encryption with AES‑128‑GCM | openssl enc -aes-128-gcm -in plain.txt -out enc.bin -iv ... -tag ... | GCM provides both secrecy and integrity. |
| Use AES‑256‑CTR (stream mode) | openssl enc -aes-256-ctr -in input -out output | CTR mode turns AES into a stream cipher; no padding needed. |
Support for AES symmetric encryption using the EVP_CIPHER API.
The following algorithms are available in the FIPS provider as well as the default provider:
AES-128-CBC, AES-192-CBC, AES-256-CBCAES-128-CBC-CTS, AES-192-CBC-CTS, AES-256-CBC-CTSAES-128-CFB, AES-192-CFB, AES-256-CFB, AES-128-CFB1, AES-192-CFB1, AES-256-CFB1, AES-128-CFB8, AES-192-CFB8, AES-256-CFB8AES-128-CTR, AES-192-CTR, AES-256-CTRAES-128-ECB, AES-192-ECB, AES-256-ECBAES-192-OCB, AES-128-OCB, AES-256-OCBAES-128-SIV, AES-192-SIV, AES-256-SIVAES-128-XTS, AES-256-XTSAES-128-CCM, AES-192-CCM, AES-256-CCMAES-128-GCM, AES-192-GCM, AES-256-GCMAES-128-WRAP, AES-192-WRAP, AES-256-WRAP, AES-128-WRAP-PAD, AES-192-WRAP-PAD, AES-256-WRAP-PAD, AES-128-WRAP-INV, AES-192-WRAP-INV, AES-256-WRAP-INV, AES-128-WRAP-PAD-INV, AES-192-WRAP-PAD-INV, AES-256-WRAP-PAD-INVAES-128-CBC-HMAC-SHA1, AES-256-CBC-HMAC-SHA1, AES-128-CBC-HMAC-SHA256, AES-256-CBC-HMAC-SHA256The following algorithms are available in the default provider, but not the FIPS provider:
AES-128-OFB, AES-192-OFB, AES-256-OFBThis implementation supports the parameters described in "PARAMETERS" in EVP_EncryptInit(3).
provider-cipher(7), OSSL_PROVIDER-FIPS(7), OSSL_PROVIDER-default(7)
Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (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>.
Generated by phpman v4.9.22-1-g1b0fcb4 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-05 09:04 @216.73.216.52
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format