Decryption¶
Decrypt data that was previously encrypted with EncryptoCLI.
Decrypt Text¶
- Launch EncryptoCLI:
encryptocli - Select "Decrypt" operation
- Choose "Text" as data type
- Paste or enter the encrypted text
- Select decryption method matching encryption:
- AES: Enter the original password
- PGP: Passphrase will be requested by GPG
- View decrypted output
- Copy and use the decrypted text
Decrypt File¶
- Launch EncryptoCLI:
encryptocli - Select "Decrypt" operation
- Choose "File" as data type
- Enter the encrypted file path
- Select decryption method:
- AES: Enter the original password
- PGP: GPG will prompt for passphrase
- Decrypted file saved as
encryptocli_output.dec - Open or use the decrypted file
Decrypt from Image (Steganography)¶
Extract and decrypt hidden data from an image:
- Launch EncryptoCLI:
encryptocli - Select "Decrypt" operation
- Choose "Image" as data type
- Enter the image file path containing hidden data
- Enter the password used during encryption
- Select steganography method (LSB or DCT)
- View extracted and decrypted data
See Steganography for more details.
Troubleshooting¶
Wrong Password Error¶
- AES: Password is incorrect
- Try alternate passwords if you have multiple
- Ensure CAPS LOCK is off
-
Check for extra spaces
-
PGP: Passphrase is incorrect
- Enter the passphrase for your private key
- Try again if you mistyped
File Not Found¶
- Verify the file path is correct
- Check file exists and is readable
- Ensure path has no typos
Unsupported Format¶
- File may not be encrypted with EncryptoCLI
- Check file extension and format
- Ensure file wasn't corrupted
- Try with original encryption method
PGP Key Not Found¶
- Ensure GPG is installed
- Run
gpg --list-secret-keysto see your private keys - Import recipient's public key if needed
Recovery Options¶
If you've forgotten a password or passphrase:
- AES: No recovery option - password is unrecoverable
- PGP: Can create new key pair, but previous encrypted files cannot be recovered
Always keep secure backups of: - PGP private keys - Passwords in a password manager - Passphrases in a secure location