Re: Can I use my own keys with openssl for RSA enc/dec ??

2007-07-10 Thread bibhuti prusty
Hi all openssl gurus I am a newbie here and I therefore may sound very stupid too :) I am trying to use openssl for encryption using RSA algorithm. I want to know whether I can use my own keys for doing this. If yes, then how ? I created a file public.pem and stored my public key in this

Re: Can I use my own keys with openssl for RSA enc/dec ??

2007-07-10 Thread bibhuti prusty
Can anybody help me out please ? I get an error saying unable to load Public Key when I use my own keys. Is it that there is a problem with the key ?? with the format ?? with the header ?? anything else ?? Thanx, Bibhuti bibhuti prusty [EMAIL PROTECTED] wrote: Hi all openssl gurus I am

Re: Can I use my own keys with openssl for RSA enc/dec ??

2007-07-10 Thread bibhuti prusty
Hi Many many thanks for your reply Marek. It seems my public key is not in proper format. The output of openssl asn1parse for my key is as follows - [EMAIL PROTECTED] test]$ ./openssl asn1parse -in pub.pem 0:d=0 hl=2 l= 2 prim: OBJECT:0.0.0 Error in encoding

Need some information regarding openssl rsa

2007-06-27 Thread bibhuti prusty
Hi all, I am using openssl for rsa encryption/decryption. I have some questions. 1. What is the format of the encrypted data ?? It is neither ascii text not binary nor unicode. what is it ?? 2. How is the input data interpreted ?? I mean is there a number associated with all the characters ??