Re: key file creation from known hex keys

2004-11-09 Thread Ng Pheng Siong
On Tue, Nov 09, 2004 at 01:48:42AM +0100, Dr. Stephen Henson wrote: > There are a couple of ways to do this. One is to write a short program to read > in each component, populate an RSA structure with them using BN_hex2bn() and > write the result out with PEM_write_RSAPrivateKey(). Hmmm, how did I

Re: key file creation from known hex keys

2004-11-08 Thread Dr. Stephen Henson
On Mon, Nov 08, 2004, Sundar Raman wrote: > This is probably a pretty basic question, but i'm new to encryption and > openssl, so please forgive the fact that it's probably stupid. > > I've got known private and public rsa keys in hex format, including all > the parameters (n, p, q, etc.). I know

Re: key file creation from known hex keys

2004-11-08 Thread Ng Pheng Siong
On Mon, Nov 08, 2004 at 04:27:14PM -0600, Sundar Raman wrote: > I've got known private and public rsa keys in hex format, including all > the parameters (n, p, q, etc.). I know that i can use genrsa to generate > keys into a .pem file that can subsequently be passed to enc to > encrypted some data.