Re: encryption fails

[ Follow Ups ] [ BasicCard User Forum ]

Posted by zeitcontrol ( on December 16, 2005 at 05:22:04:

In Reply to: encryption fails posted by daniele on December 05, 2005 at 08:41:51:

SW1SW2=&H66C4 means swCoprocessorError

The reason for this is very probable that your message is to large. You need to know that the RSA operation is basically a mathematic operation dealing with big integer numbers. So your message is treated as a number and processed by RSA operation. There are limitations to this operation. E.g. for
Sub RsaEncrypt (Mess$, n$, e$)
the Mess$ must be less than n$

Michael Petig
ZeitControl cardsystems GmbH

Follow Ups:

[ Follow Ups ] [ BasicCard User Forum ]