millionfires 0 Newbie Poster

hey
i am trying to implement the diffie hellman key exchange algorithm in matlab.
my problem is this: the program works just fine for numbers upto 5 digits, but after that it just sort of stops working. thing is i need to deal (multiply,exponentiation,modular arith etc.) with really big numbers in the range of 192 to 1024 bits. so how exactly do i get matlab to give me an output for this? or should i be looking at another implementation?


p.s. i know that it can be done, but i am highly frustrated about the lack of specific information on the net. i have googled and more for the past 2 days and have come up with a big zero.
p.p.s on the net i have turned up posts with people asking for help regarding how they are unable to implement something after having generated a 1024 bit key. my question is just how do you generate a key that large?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.