Title: RE: Newbie

       
       
        Michael,

        What I understood from the message was this. He wants to load a file into memory. Encrypt the memory and store that in his database. Right now he is using the openssl tool to do this. He wants to write his own program that will basically write out the encrypted data to his database instead of a file again. Peter am I correct?

- Andrew

> -----Original Message-----
> From: Michael Sierchio [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 11:53 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Newbie
>
>
> Peter Osborne wrote:
> >
> > Hello All,
> >
> > I'm a newbie at all of this so bear with me. The company I work for
> > needs to encrypt data before it is stored in a database. Currently,
> > how we are doing this is by writing the data to a file,
> encrypting the
> > data with the openssl command line utility (openssl enc
> -rc4 -in file1
> > -out file2 -pass file:sslkey -e), reading the data out of
> the file and
> > writing it back into the database.
>
> I am a big fan of stream ciphers, but not for storing data. 
> I'd use DES-EDE-3K for long term storage.  Possibly AES-CBC-256

> > We would like to use the ssl libraries to do all this and
> scip all the
> > file stuff & command line utilites but I don't know where to start.
> > Does anyone know where I can find some sample code that does simple
> > file encryption/decryption using just a file as the key?
>
> I'm unclear by what you mean by the last phrase.  How do you
> intend to use a file as the key?  Do you mean storing the
> contents of the key in a file?  Unencrypted?  Why bother with
> encryption, if that's the case?
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
>

Reply via email to