Re: Implementing RSA in my code

2007-06-09 Thread Goetz Babin-Ebell
--On Samstag, Juni 09, 2007 06:24:06 -0400 Richard <[EMAIL PROTECTED]> wrote: 1. I am aware the input and output will work upon binary data, this isn't a problem for me. OK 2. I suppose I am not entirely aware of all potential pitfalls. Perhaps you should look into a book about cryptograph

Re: Implementing RSA in my code

2007-06-09 Thread Richard
1. I am aware the input and output will work upon binary data, this isn't a problem for me. 2. I suppose I am not entirely aware of all potential pitfalls. 3. When working with hex data, BN_hex2bn would always segfault. My assumption was that the object needed to be extended to the proper size fir

Re: Implementing RSA in my code

2007-06-09 Thread Goetz Babin-Ebell
--On Samstag, Juni 09, 2007 05:03:54 -0400 Richard <[EMAIL PROTECTED]> wrote: Hello! My goal is to write a simple function for use in C programs of mine that can encrypt and output strings. This would seem to be an easy task at first, only through attempting it have I realized some difficultie

Implementing RSA in my code

2007-06-09 Thread Richard
Hello! My goal is to write a simple function for use in C programs of mine that can encrypt and output strings. This would seem to be an easy task at first, only through attempting it have I realized some difficulties. My idea was to use the openssl RSA library, build an RSA structure, and use RS