On Sun, Jul 02, 2006 at 02:14:59AM +0200, Rico Secada wrote: > Hi > > I have been thinking about encrypting some private files on my laptop, in > case it gets stolen. > > I have no prior experience in this field. > > I have been thinking about using "mcrypt" with blowfish, but is this a good > way to go about? Are there a better alternative? And is blowfish the best way > to encrypt it? > > Please bear with me if these questions are ignorent. > > Best regards, > Rico
I use openssl if I have to encrypt a file, it's fairly portable across systems. $ echo supersecretcontent > file $ openssl enc -bf-cbc -in file -out file.X enter bf-cbc encryption password: Verifying - enter bf-cbc encryption password: $ hexdump -C file.X 00000000 53 61 6c 74 65 64 5f 5f 48 bf cb c8 f0 42 b0 35 |Salted__H?KHpB05| 00000010 ba 2a 39 32 e6 63 92 a4 52 78 b1 f8 ce 09 ac 6e |:*92fc.$Rx1xN.,n| 00000020 d0 e7 6a e6 26 0d 48 b0 |Pgjf&.H0| 00000028 $ # this is important afterwards $ rm -P file $ -peter -- Here my ticker tape .signature #### My name is Peter Philipp #### lynx -dump "http://en.wikipedia.org/w/index.php?title=Pufferfish&oldid=20768394" | sed -n 131,136p #### So long and thanks for all the fish!!!

