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

Posted on 2009-12-23
Last Modified: 2012-05-08

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

Question by:php-newbie
    1 Comment
    LVL 33

    Accepted Solution

    base command is "openssl enc"

    you will also want the following arguments:

    (perhaps obvious, use decryption mode)

    (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


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Suggested Solutions

    As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
    I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now