Ben,
theEncryptor::blowfish(unsigned char *data, int data_len, unsigned char*
key, unsigned char *ivec, int enc)
In this function you are passing key argument as char *, i am not able
to find alice's public key in char* format, we received that in 2 buffers
and we put that in RSA struct.
On 24-08-2010 15:14, Harshvir Sidhu wrote:
Ben,
theEncryptor::blowfish(unsigned char *data, int data_len, unsigned
char* key, unsigned char *ivec, int enc)
In this function you are passing key argument as char *, i am not
able to find alice's public key in char* format, we received
Hi All,
I am trying to use encryption over Client/Server machines. My
requirement is that i have to use winsock UDP functions to send and receive
data. Is there some mechanism to perform key and cipher exchange in this
case, like normally SSL_Connect will do this, but in my case i cannot use
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.
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 implemented something very similar recently but using tcp rather
than udp. In my case, alice creates a
Ok, well assuming you're talking about C++ which is what I'm using, then to
create an RSA key pair you do:
// alice would do this
RSA *rsa = RSA_generate_key(bits, 65537, NULL, NULL);
// alice can then get the public part of the key and send to bob
const int max_hex_size = (bits / 4) + 1;
long
Thanks Ben, I will try this.
// Harshvir
On Wed, Jul 21, 2010 at 10:07 AM, Ben Jones b...@bhjones.com wrote:
Ok, well assuming you're talking about C++ which is what I'm using, then to
create an RSA key pair you do:
// alice would do this
RSA *rsa = RSA_generate_key(bits, 65537, NULL,
On 21-07-2010 16:02, Harshvir Sidhu wrote:
Hi All,
I am trying to use encryption over Client/Server machines. My
requirement is that i have to use winsock UDP functions to send and receive
data. Is there some mechanism to perform key and cipher exchange in this
case, like normally
What all features do DTLS support?
I am not able to find the information about this on OpenSSL.org
I was going thru the headers to check, i think it supports.
1. Packet sequencing.
2. Sure delivery by retransmitting if it didnt get ACK.
I guess there should be more, Can someone please pin point