RE: BIO call failed for certain length of string encryption/decry ption

2005-01-27 Thread Lule Chen
Title: Message Hi, Doctor:   Is the EVP_bf_ecb can be used to encrypt variable length of strings? If so why I can encrypt certain size of strings? Did I do any thing wrong? If so what is the correct way of doing it? I am waiting for the answer.     Thanks,     Louis   -Original Me

BIO call failed for certain length of string encryption/decryptio n

2005-01-25 Thread Lule Chen
Title: Message Hi, I have the following code to do encryption and decryption (blowfish). But I have problem of encrypting/decrypting the string with certain length in my testing. Every thing seems working fine for the string length less than 48. if the length is greater than or equal to 48

AES encryption/decryption sample code needed

2005-01-21 Thread Lule Chen
Title: Message Hi, can someone show me the sample code that how to call the openssl library to do AES(Rijndael) encryption/decryption? Another thing doe anyone know if I can use openssl to do the AES encryption and use JCE to do the decryption or vise verse?   Thanks     Louis

RE: How to create a certificate silently

2004-09-03 Thread Lule Chen
other system that supports the Environment variables, you can write a fixed openssl conf file that references appropriate variables in appropriate places.  If you don't have Environment you can still write a custom openssl conf file for each instance of signing. Lule Chen wrote: > Hi, I us

RE: How to create a certificate silently

2004-09-03 Thread Lule Chen
-0400, Lule Chen wrote: > Thanks, but I am new to openssl. Could you give me a little bit more > detail of the usage? There is a good article in Septembers SysAdmin mag (if you can obtain a copy) about using "expect"  to automate openssl operations. http://www.samag.com/current/ A goo

RE: How to create a certificate silently

2004-09-03 Thread Lule Chen
: Re: How to create a certificate silently On Fri, Sep 03, 2004 at 11:19:37AM -0400, Lule Chen wrote: > Hi, I use the openssl to create a self signed certificate, but it > needs interactively input country name, province name, ... Common > name. I am wondering if there is a way to do it

How to create a certificate silently

2004-09-03 Thread Lule Chen
Title: How to create a certificate silently Hi, I use the openssl to create a self signed certificate, but it needs interactively input country name, province name, ... Common name. I am wondering if there is a way to do it silently, i.e. let it read those response from a configure file? Becau

RE: Password-based encryption with md5 cbc, how

2003-09-29 Thread Lule Chen
md5 cbc, how In message <[EMAIL PROTECTED]> on Wed, 24 Sep 2003 18:13:00 +0200, "Dr. Stephen Henson" <[EMAIL PROTECTED]> said: steve> On Wed, Sep 24, 2003, Lule Chen wrote: steve> steve> > Thanks, Dr. Stephen: steve> > steve> > Another question: what

RE: Password-based encryption with md5 cbc, how

2003-09-24 Thread Lule Chen
] Subject: Re: Password-based encryption with md5 cbc, how On Wed, Sep 24, 2003, Lule Chen wrote: > Thanks, Dr. Stephen: > > I have to confess that I have never used OpenSSL library. Could you > please provide some sample code (or outline the steps and the related > OpenSSL fun

RE: Password-based encryption with md5 cbc, how

2003-09-24 Thread Lule Chen
Message- From: Dr. Stephen Henson [mailto:[EMAIL PROTECTED]] Sent: September 24, 2003 11:14 AM To: [EMAIL PROTECTED] Subject: Re: Password-based encryption with md5 cbc, how On Wed, Sep 24, 2003, Lule Chen wrote: > Hi, I am new to the OpenSSL. I have a java program that uses the jce >

Password-based encryption with md5 cbc, how

2003-09-24 Thread Lule Chen
Title: Password-based encryption with md5 cbc, how Hi, I am new to the OpenSSL. I have a java program that uses the jce sample of Password-based encryption with md5 and cbc. It uses a fixed salt and count. And the algorithm is the password-based encryption algorithm as defined in RSA Laborator