Encryption of Sensitive Files - Security & Cryptography

Users browsing this thread: 1 Guest(s)
Revcore
Members
As a system administrator, or any other occupation that you have to deal with sensitive information, it is often recommended that you encrypt the sensitive information in case it is stolen or found.

Personally, for the encryption of files I use a program commonly found on *Nix systems called "CCrypt". CCrypt uses AES-256 encryption which is very strong.

Here's an example:
I have a master password file, and say that the contents are such:
Code:
Revcore password123

After install ccrypt I type:
Code:
ccrypt -e password.txt

Then, when I view the encrypted file:
Code:
F�Av�qB,��lbR��o�Dj��]�(��oe�W�]�zi�۲eLF�
                                         63z

Don't think anyone is going to be view this!


Similarly, you can decrypt with "ccrypt -d" and view/cat with "ccrypt -c"
yrmt
Grey Hair Nixers
Ccrypt is really great. Who can break an AES-256 encrypted file? No one.
Robby
Long time nixers
Will probably be using this to encrypt my documented online account details for paypal, LR etc.
venam
Administrators
Question: "why do you use `Revcore password123` in the first encryption?"
You could have simply use `ccrypt -e something` instead of installing another tool.
I have a question myself: I have run ccrypt inside a folder and I was wondering how I can encrypt all the files inside the folder.
To begin with, I tried ccrypt * which did not work, then I tried ccrypt *. it worked for some files, then I tried ccrypt .* it worked for the rest of the files.
I can't make it work with a one liner so if anyone has a way bump me!
D9u
Long time nixers
Đid you try [ ccrypt . ] [without brackets]?
BSD is what you get when a bunch of Unix hackers sit down to try to port a Unix system to the PC.
Linux is what you get when a bunch of PC hackers sit down and try to write a Unix system for the PC.
venam
Administrators
the `ccrypt .` is not working, it confuse the . with a directory. Anyway it's not that important, I'd rather to ccrypt * then ccrypt .* and that it.
Thank you !
OpenSource
Members
This is extremely helpful, never knew about this

@venam

ccrypt -e -q "file path"

-example-
ccrypt -e -q /Documents/mypass

if you still don't get it "ccrypty --help" give you all the options etc.
CrossFold
Long time nixers
Thanks for this :) I'll try this out..
Dyzaster
Members
I myself use Truecrypt. What i do is i create a encrypted volume (A folder which is then encrypted and turned into a non-open-able file until its decrypted) and i use Serpent-Twofish-AES.

It first encrypts with AES (256BIT) then with Twofish (256BIT) then with Serpent (256BIT), and i use SHA-512 as the Hash Algorithm. Then use a 25+ (Mines more) Long password to avoid brute-force. (Passwords like "Today.Me.And.My.Mom.Played.COD.7.And.I.Beat.Her" are good, whos going to guess that? And what password list will hold that?)

Also, when it comes to encrypting an actual Hard Drive with *Nix i reccomend LUKS. I know its available for Arch, i have never tried it on anything else. With LUKS you can do a mixture of i think the same 3 encryptions, and you choose what BIT you want.
I am The Dyzaster. I am not an "Anon" My Avatar represents my beliefs, it does not mean that i'm an UB3R HAX0R who Ddos's websites while my mommie makes me a sammich.

I Deleted System32 out of Linux so my OS runs faster then yours.