You need to email a 200 MB tar archive that must remain confidential. The mail server strips binary attachments, so you decide to generate an OpenPGP ASCII-armored file encrypted with AES-256 using a passphrase, all in one command on Kali Linux. Which command meets the requirement?
The requirement calls for OpenPGP ASCII armor, which is produced by GnuPG. The --symmetric switch tells GnuPG to use passphrase-based (symmetric) encryption, --cipher-algo AES256 selects the AES-256 algorithm, and --armor wraps the ciphertext in the ASCII armor headers and Base64 needed to survive text-only mail transfer.
The OpenSSL enc syntax can output Base64 with -a, but that output is not OpenPGP armor and lacks the required PGP headers, so it would not be recognized as an ASCII-armored OpenPGP message. The zip -e and 7-Zip examples use their own container formats and do not create OpenPGP armor at all.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is OpenPGP ASCII armor?
Open an interactive chat with Bash
How does the `gpg --symmetric` command work for encryption?
Open an interactive chat with Bash
Why is AES-256 chosen for encryption in this scenario?
Open an interactive chat with Bash
What is OpenPGP ASCII armor?
Open an interactive chat with Bash
How does GnuPG implement AES-256 symmetric encryption?
Open an interactive chat with Bash
Why is OpenSSL `-aes-256-cbc` not suitable for OpenPGP ASCII armor?
Open an interactive chat with Bash
Certified Ethical Hacker (CEH)
Cryptography
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .