Mathematic on very large hexa number.

Posted by Frank on April 22, 2008

I'm working on a small encryption program and i want to find a way to calculate this:


Here is the formula:
Z = X^(-1) mod Y

The value of "X" and "Y" is:

X:= '9DF125F1C789F2384DE2F34EBC1B1F5712BDE7E3CB22593F3F9A0C88D8C1D247';
Y:= 'F2860A427302333BCD040912A34F2B62F8DC0A42F3DE8BB6E684BC1789AB6111';

Delphi is limited to very small hexa number (even with int64) So i do not figure out how to do this calculation.

Maybe somebody can help me?

Related articles

       

Follow Ups

Post a Followup

Name:
Password:

Subject:

Comments:

DelphiLand Club members: enter your Membership password.
Guests can get a Forum Guest password by subscribing to the DelphiLand Newsletter.