?
Solved

How do I decrypt a file in DES-EDE3-CBC format with openssl?

Posted on 2009-12-23
1
Medium Priority
?
681 Views
Last Modified: 2012-05-08
Hi,

what's the command to decrypt a file in DES-EDE3-CBC format using openssl?

thanks!
0
Comment
Question by:php-newbie
1 Comment
 
LVL 33

Accepted Solution

by:
Dave Howe earned 2000 total points
ID: 26120776
base command is "openssl enc"

you will also want the following arguments:

-d
(perhaps obvious, use decryption mode)

-des-ede-cbc
(again perhaps obvious, selects cypher mode)

-K <key in hex>
(assuming it is in hex; you can hash a passphrase too)

-in <filename>
(input file)

-out <filename>
(output file)

so, to give an example:

openssl enc -d -des-ede-cbc -k deadbeefdeadbeefdeadbeef -in crypt.des.ede -out plain.txt

0

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are like me and like multiple layers of protection, read on!
Your business may be under attack from a silent enemy that is hard to detect. It works stealthily in the shadows to access and exploit your critical business information, sensitive confidential data and intellectual property, for commercial gain. T…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question