Ah, I figured it out.  After getting the binary, encrypted output, I send
it through openssl once more, this time translating it to base64 and that
makes it very friendly to tcl.

Thanks for the help!

Jerry


I created two functions: cc_encrypt and cc_decrypt that use openssl to
encrypt and decrypt a string. I then plan on storing the encrypted binary
string in the database (along with data detailing the encryption
parameters apart from the password.)

openssl bf -pass pass:${password}

will use the blowfish cipher to encrypt stdin, sending it to stdout using
the password.

openssl bf -pass pass:${password} -in infile -out outfile


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to