Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Large number arithmetics (Decrypting RSA signature)
Message
From
02/12/2004 19:05:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
02/12/2004 15:44:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00966499
Message ID:
00966574
Views:
10
I wrote "math unlimited", download #10044, mainly as a proof of concept. It is written in VFP, so it will be relatively slow, compared with something written in C++, for example.

Any size of digits are supported, up to the array limit in VFP (each digit uses one array element, in the internal calculations).

HTH,

Hilmar.

>I have a RSA signature S (128 byte integer )
>and modulus n (also 128 byte integer)
>
>I need to calculate
>
>( S**3 ) MOD n
>
>All I need is to perform exponent ( S**3 ) and MOD operation on
>128 byte integers.
>
>Is there any large integer class callable from FoxPro which can calculate this ?
>
>I looked also _cypt.vcx foundation class and into Windows Crypto API but
>havent found any function which does this.
>
>Any idea ?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform