RE: RSA Encrypt/Decrypt fails

2001-02-15 Thread Jan Zoellner
At 16.02.01 01:52, you wrote: I'm guessing that RSA_eay_private_encrypt uses padding type 1 since this function isn't intended for encrypting data, just signing it, because data that can be decrypted with a "public" key isn't really secure. Youre right about that. The main goal is indeed

Re: RSA Encrypt/Decrypt fails

2001-02-15 Thread Jan Zoellner
At 15.02.01 18:19, you wrote: What's more, the attack I was refering to, as someone made me notice already, requires "e" messages, not 2, so it's more difficult to do if you use a large e,like 65535. Ive read this post as well. Thanks for all the info, guys, the code is now working as intended

RSA Encrypt/Decrypt fails

2001-02-14 Thread Jan Zoellner
yption Error.\n"); delete [] dest; delete [] tmpDest; delete [] tmpSrc; return 0; } } -------- -- Jan Zoellner - VidSoft GmbH eMail: [EMAIL PROTECTED] - Tel: ++49 351 4