• How To's
  • Ubuntu
  • How To Encrypt / Decrypt Files in Ubuntu/Debian with Two Commands

    In this tutz, I will discuss how to easily and quickly encrypt and decrypt files using very simple commands on Ubuntu
    First install ccrypt on Ubuntu using this command:

    sudo apt-get install ccrypt

    For Debian, run these commands:

    su -
    apt-get install ccrypt

    To encrypt a file, cd to its folder and run this command:

    ccrypt file_name

    Replace “file_name” with the name of your file. You will be asked to submit a password two times. The encrypted file will have the .cpt extension.
    To decrypt the file, use now this command and provide the password you assigned to it:

    ccrypt -d file_name

    🙂 -pr3p

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    1 mins