{"id":438,"date":"2014-07-18T11:09:22","date_gmt":"2014-07-18T11:09:22","guid":{"rendered":"http:\/\/www.ubuntupirates.com\/?p=438"},"modified":"2014-07-18T11:09:22","modified_gmt":"2014-07-18T11:09:22","slug":"how-to-encrypt-decrypt-files-in-ubuntudebian-with-two-commands","status":"publish","type":"post","link":"https:\/\/www.jameseduard.com\/?p=438","title":{"rendered":"How To Encrypt \/ Decrypt Files in Ubuntu\/Debian with Two Commands"},"content":{"rendered":"<p>In this tutz, I will discuss how to easily and quickly encrypt and decrypt files using very simple commands on Ubuntu<br \/>\n<strong>First install ccrypt on Ubuntu using this command:<\/strong><\/p>\n<pre class=\"\">sudo apt-get install ccrypt<\/pre>\n<p><strong>For Debian, run these commands:<\/strong><\/p>\n<pre>su -\napt-get install ccrypt<\/pre>\n<p><strong>To encrypt a file, cd to its folder and run this command:<\/strong><\/p>\n<pre>ccrypt file_name<\/pre>\n<p>Replace &#8220;file_name&#8221; with the name of your file. You will be asked to submit a password two times. The encrypted file will have the .cpt extension.<br \/>\n<strong>To decrypt the file, use now this command and provide the password you assigned to it:<\/strong><\/p>\n<pre>ccrypt -d file_name<\/pre>\n<p>\ud83d\ude42 -pr3p<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8211; apt-get install ccrypt To encrypt a file, cd to its folder and run this command:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,49],"tags":[233,234,34],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-how-tos","category-ubuntu","tag-decrypt","tag-encrypt","tag-security"],"_links":{"self":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=438"}],"version-history":[{"count":0,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jameseduard.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}