Re: Beginner's questions with openssl API

2002-01-07 Thread Juan Segarra
On Mon, 7 Jan 2002, Mack Stevenson wrote: > Hi Bear, > > Thank you for replying. > > > > > - I gather that it's a bad idea to just encrypt all the files with the > > > passphrase chosen by the user, right? > > > >You don't use the passphrase *directly*, but you should certainly > >use the user's

Re: Beginner's questions with openssl API

2002-01-06 Thread Mack Stevenson
Hi Bear, Thank you for replying. > > - I gather that it's a bad idea to just encrypt all the files with the > > passphrase chosen by the user, right? > >You don't use the passphrase *directly*, but you should certainly >use the user's passphrase. Run it through a cryptographic hash >and use th

Beginner's questions with openssl API

2002-01-06 Thread Mack Stevenson
Howdy, I don't have any experience in coding apps which use cryptography, but I don't want to screw up, so I come looking for some friendly advice. What I would like to do is to use the openssl simmetric crypto library to encrypt local files, and decrypt them with a user supplied passphrase.