Simple secrecy
So, let’s say you have a text file that you use to keep track of your account information as you zip along the internets. Let’s say you would like to keep that stuff safely encrypted in your lappy. Well, here’s a ridiculous simple way to encrypt and decrypt files on just about any OS that has access to the openssl library (I’ve tested it on OSX and Linux).
For example, let’s say you would like to encrypt a text file called secret.txt. As you can see below the unencrypted file is just plain text:
rafael-mb:tmp rafael$ file secret.txt
secret.txt: ASCII text
rafael-mb:tmp rafael$
But we can you OpenSSL to encrypt our file with the command below:
rafael-mb:tmp rafael$ openssl enc -aes-256-cbc -salt -in secret.txt -out secret.txt.encrypted
enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:
rafael-mb:tmp rafael$
where -aes-256-cbc is just the algorithm to use and -in/-out represent the input and output file names. Now, after the encryption:
rafael-mb:tmp rafael$ file secret.txt.encrypted
secret.txt.encrypted: data
rafael-mb:tmp rafael$
And for the decryption:
rafael-mb:tmp rafael$ openssl enc -d -aes-256-cbc -in secret.txt.encrypted -out secret-new.txt
enter aes-256-cbc decryption password:
rafael-mb:tmp rafael$ file secret-new.txt
secret-new.txt: ASCII text
rafael-mb:tmp rafael$
Voila!
Sick and tired of obtaining low amounts of useless visitors for your website? Well i wish to inform you of a new underground tactic that makes myself $900 every day on 100% AUTOPILOT. I really could be here all day and going into detail but why dont you merely check their site out? There is a great video that explains everything. So if your seriously interested in producing easy hard cash this is the website for you. Auto Traffic Avalanche
August Songer
30 Aug 10 at 3:35 pm