Re: Just Encryption Using Openssl

2010-07-21 Thread Ben Jones
Well I implemented something very similar recently but using tcp rather than udp. In my case, alice creates a public-private key pair and sends public key to bob. Bob then encrypts randomly generated symmetric key (.e.g blowish, dsa or aes etc.) with public key and sends the result to alice.

Re: Just Encryption Using Openssl

2010-07-21 Thread Ben Jones
helpful. Cheers, Ben. On 21 July 2010 15:41, Harshvir Sidhu hvssi...@gmail.com wrote: Ben: Yes thats what i need to do. If you can provide some example, that will be great. Thanks. // Harshvir On Wed, Jul 21, 2010 at 9:17 AM, Ben Jones b...@bhjones.com wrote: Well I

Re: recommended rsa api

2010-01-21 Thread Ben Jones
note, also see http://stackoverflow.com/questions/2012645/can-you-help-me-get-my-head-around-openssl-public-key-encryption-with-rsa-h-in-c Cheers, Ben. On 20 January 2010 16:22, Anand Patel anand.apa...@gmail.com wrote: For RSA API take a look at http://openssl.org/docs/crypto/rsa.html#

Re: recommended rsa api

2010-01-20 Thread Ben Jones
Hi there Alexey Many people will tell you to use the EVP stuff and quite frankly, they're most likely right. However, I've not managed to figure out the EVP stuff so I use the public_encrypt and private_decrypt functions instead. I have written the following functions to encapsulate the

blowfish.h use in simple server/client application

2010-01-02 Thread Ben Jones
Hi, (I hope this is the correct list to be asking this, apologies if not) I am trying to write an application which amongst other things uses the blowfish implementation (blowfish.h) to transport files over a simple server/client pair. However, whilst some files are encrypted, transported,