Board index » delphi » 'Very large Number' problem
Guyon MorĂ©e
Delphi Developer |
Thu, 10 Mar 2005 20:48:01 GMT
'Very large Number' problem
I am trying to implement a Diffi-Hellman Key Exchange algorithm. The problem
that i'm having is that it requires rediculous large numbers and i can't figure out how to use these in Delphi. First of all, i have a constant 768 bit prime from rfc 2412 (e.g. P := Then i generate a random private number, something like: pK := 210230652384848325517647878360676959278437770489 Ok, i allready have problems trying to assing these numbers to variable, i 2^pK mod P Any help would be greatly appreciated. I have written a server in a language many thanks, Gumuz |