Re: question about rsa_test.c

2006-12-05 Thread Marek Marcola
Hello, > I try to understand RSA-OAEP with rsa_test.c and I have some questions about > this file. > 1. If the number is 1234567893456 in dec, that is 11F71FB11D0 in hec, how > should I put it in the static unsigned char n[]? > Should I put is as "\x1\x1F\x71\xFB\x11\xD0&qu

RE: question about rsa_test.c

2006-12-04 Thread David Schwartz
> 2. In RSA_test.c, the key1 has the n as > "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F" > "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5" > "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93" >

question about rsa_test.c

2006-12-04 Thread cckuo
Dear all: I try to understand RSA-OAEP with rsa_test.c and I have some questions about this file. 1. If the number is 1234567893456 in dec, that is 11F71FB11D0 in hec, how should I put it in the static unsigned char n[]? Should I put is as "\x1\x1F\x71\xFB\x11\xD0", I marked this one

rsa_test.c

2000-12-08 Thread mjvolders
Hi, I can't get the RSA encryption to work so i looked at some examples. In the rsa_test.c i tried to rewrite to source to use generated keys instead of the hardcoded ones. But when I do that it doesn\t work anymore. I tried to find why when i stumbled upon a statement which I don't