No. It does use a huge string buffer inside a function. As I understand it, the system allocates dynamic variables in stack. All I did was to make that buffer static to fix it. It has been working since then.
Some people suggested another package. However, it is too big/complex. All I need is a decryption function to implement a registration system. The main objective is to defeat possible key generators. And some critical system data for registered version will also come from registration code encrypted. I'd imagine the crackers will have some fun hacking it. :) I haven't decided the key lengh, but I guess I would use 512bits or 1024bits key. Max --- Kevin OKeefe <[EMAIL PROTECTED]> wrote: > Complete guess, having never seen the code: Is it using a recursive > algorithm that you can change to a non-recursive one? > > Kevin > > -----Original Message----- > From: Max Bian [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 16, 2001 7:26 AM > To: Palm Developer Forum > Subject: RSA encryption > > > Hi. > > I was trying to get RSA encryption/decryption work on Palm. I pulled a code > from the net created in 1988. I looks like standard C. I tried it on my > Linux. IT works perfectly. There is no big problem compile it for Palm. > However, when I run it, it blows the stack right away. > > Before I try to rework the code to make it run on Palm, I would like to ask > the > list if there has been work done on porting RSA codes to Palm. > > I don't have to use RSA. Actually I just need an asysmetric encryption > method > that use the popular public/private key scheme. It doesn't have to be > military > grade either. As long as it can take several days of brutal force cracking > on > a home PC. Anyone knows a simple solution other than RSA? > > THanks. > > Max > > > > > > > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/tech/support/forums/ > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please > see http://www.palmos.com/dev/tech/support/forums/ __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
