Posted by xavier
(188.8.131.52) on July 02, 2003 at 10:34:14:
When i call the function RsaGenerateKey with 1024 bits it works, but it doesn't when the parameter is set to 512 bits.
Can you tell me where is my mistake?
Public expopublic$ as string*4 = &H9E, &H29, &H39, &HDF
Public n1$ As String*128
Public n3$ As String*64
Call RsaGenerateKey (1024, 32, p1$, q1$, expopublic$)
Call RsaGenerateKey (512, 32, p3$, q3$, expopublic$)