Encrypt Files with Ccrypt

Encrypt Files with Ccrypt

Encrypt files with ccrypt program then de-crypt.

————————————————————————————————————————————————————————————–

  1. You need to make sure the program is installed. To check either open your software manager or synaptic package manger and type in ccrypt and see if it’s installed.
  2. Next open a terminal window and use the following to encrypt and de-crypt your file or files

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

**** Can’t have any Space’s in the File Name *****

Encrypt by typing this in a Terminal window:  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.

Now you can send the file via email or store on a USB thumb drive and it will be secure. You can also store it in the cloud such as Google Drive or Dropbox and be re-insured that the file is safer then if where un-encrypted.

To encrypt all files in a folder, even ones with spaces in the name, type in

ccrypt /home/bob/pictures/*  The * is the wildcard and tells ccrypt to encrypt all files in the picture folder.

___________________________________________________________________________________________

To decrypt the file, use now this command and provide the password you assigned to it:

cd ( change) to its folder and run this command in a terminal window: ccrypt -d file_name

To decrypt all files in a folder, type in

ccrypt -d /home/bob/pictures/*  The * is the wildcard and tells ccrypt to decrypt all files in the picture folder

————————————————————————————————————————————————————————————–

Usage: ccrypt [mode] [options] [file…]
ccencrypt [options] [file…]
ccdecrypt [options] [file…]
ccat [options] file…

Modes:
-e, –encrypt encrypt
-d, –decrypt decrypt
-c, –cat cat; decrypt files to stdout
-x, –keychange change key
-u, –unixcrypt decrypt old unix crypt files

Options:
-h, –help print this help message and exit
-V, –version print version info and exit
-L, –license print license info and exit
-v, –verbose print progress information to stderr
-q, –quiet run quietly; suppress warnings
-f, –force overwrite existing files without asking
-m, –mismatch allow decryption with non-matching key
-E, –envvar var read keyword from environment variable (unsafe)
-K, –key key give keyword on command line (unsafe)
-k, –keyfile file read keyword(s) as first line(s) from file
-P, –prompt prompt use this prompt instead of default
-S, –suffix .suf use suffix .suf instead of default .cpt
-s, –strictsuffix refuse to encrypt files which already have suffix
-F, –envvar2 var as -E for second keyword (for keychange mode)
-H, –key2 key as -K for second keyword (for keychange mode)
-Q, –prompt2 prompt as -P for second keyword (for keychange mode)
-t, –timid prompt twice for encryption keys (default)
-b, –brave prompt only once for encryption keys
-y, –keyref file encryption key must match this encrypted file
-r, –recursive recurse through directories
-R, –rec-symlinks follow symbolic links as subdirectories
-l, –symlinks dereference symbolic links
-T, –tmpfiles use temporary files instead of overwriting (unsafe)
— end of options, filenames follow

Wikipedia Ccrypt page

 

Encryption Apps, Encryption Software Free, Encryption Tools, Encryption Ubuntu, Encryption Utility

Leave a Comment

You must be logged in to post a comment.